mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-12-26 01:31:06 +00:00
Fix WebGPU barrier test: Use QueueFamilyKHR scope (#2162)
This commit is contained in:
parent
b1ff8ba5b9
commit
d81a0c0ec4
@ -69,6 +69,7 @@ OpCapability Shader
|
||||
%workgroup = OpConstant %u32 2
|
||||
%subgroup = OpConstant %u32 3
|
||||
%invocation = OpConstant %u32 4
|
||||
%queuefamily = OpConstant %u32 5
|
||||
|
||||
%none = OpConstant %u32 0
|
||||
%acquire = OpConstant %u32 2
|
||||
@ -248,7 +249,7 @@ OpControlBarrier %workgroup %workgroup %acquire_release_uniform_workgroup
|
||||
|
||||
TEST_F(ValidateBarriers, OpControlBarrierWebGPUSuccess) {
|
||||
const std::string body = R"(
|
||||
OpControlBarrier %workgroup %device %none
|
||||
OpControlBarrier %workgroup %queuefamily %none
|
||||
OpControlBarrier %workgroup %workgroup %acquire_release_uniform_workgroup
|
||||
)";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user