Skip to content

Commit

Permalink
Added missing features to device_memory and all_memory barrier intrin…
Browse files Browse the repository at this point in the history
…sics.
  • Loading branch information
hannes-vernooij committed Oct 21, 2021
1 parent 3fbff93 commit 2699d0a
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions tests/ui/arch/all_memory_barrier.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// build-pass
// compile-flags: -C target-feature=+VulkanMemoryModelDeviceScopeKHR,+ext:SPV_KHR_vulkan_memory_model
// compile-flags: -C llvm-args=--disassemble-fn=all_memory_barrier::all_memory_barrier

use spirv_std as _;
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/arch/all_memory_barrier.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
%4 = OpLabel
OpLine %5 72 4
OpMemoryBarrier %6 %7
OpLine %8 8 1
OpLine %8 9 1
OpReturn
OpFunctionEnd
1 change: 1 addition & 0 deletions tests/ui/arch/all_memory_barrier_with_group_sync.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// build-pass
// compile-flags: -C target-feature=+VulkanMemoryModelDeviceScopeKHR,+ext:SPV_KHR_vulkan_memory_model
// compile-flags: -C llvm-args=--disassemble-fn=all_memory_barrier_with_group_sync::all_memory_barrier_with_group_sync

use spirv_std as _;
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/arch/all_memory_barrier_with_group_sync.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
%4 = OpLabel
OpLine %5 38 4
OpControlBarrier %6 %7 %8
OpLine %9 8 1
OpLine %9 9 1
OpReturn
OpFunctionEnd
1 change: 1 addition & 0 deletions tests/ui/arch/device_memory_barrier.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// build-pass
// compile-flags: -C target-feature=+VulkanMemoryModelDeviceScopeKHR,+ext:SPV_KHR_vulkan_memory_model
// compile-flags: -C llvm-args=--disassemble-fn=device_memory_barrier::device_memory_barrier

use spirv_std as _;
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/arch/device_memory_barrier.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
%4 = OpLabel
OpLine %5 72 4
OpMemoryBarrier %6 %7
OpLine %8 8 1
OpLine %8 9 1
OpReturn
OpFunctionEnd
1 change: 1 addition & 0 deletions tests/ui/arch/device_memory_barrier_with_group_sync.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// build-pass
// compile-flags: -C target-feature=+VulkanMemoryModelDeviceScopeKHR,+ext:SPV_KHR_vulkan_memory_model
// compile-flags: -C llvm-args=--disassemble-fn=device_memory_barrier_with_group_sync::device_memory_barrier_with_group_sync

use spirv_std as _;
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/arch/device_memory_barrier_with_group_sync.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
%4 = OpLabel
OpLine %5 38 4
OpControlBarrier %6 %7 %8
OpLine %9 8 1
OpLine %9 9 1
OpReturn
OpFunctionEnd

0 comments on commit 2699d0a

Please sign in to comment.