summaryrefslogtreecommitdiffstats
path: root/tests/cooperative-matrix/struct.slang
diff options
context:
space:
mode:
authorJay Kwak <82421531+jkwak-work@users.noreply.github.com>2025-05-17 02:26:44 +0000
committerGitHub <noreply@github.com>2025-05-16 19:26:44 -0700
commitd58243d9041947c99f18b82385e62c082507decb (patch)
treee51c9543dc39f269cea3f7b276edd8ebccddd14c /tests/cooperative-matrix/struct.slang
parent0be6970c01d212aac7ea7db9b6c1556c530d6889 (diff)
Support Vulkan memory model (#7057)
The user can explicitly use Vulkan memory model, or it will be automatically used when cooperative-matrix is used. When vulkan memory model is used, two keywords, "Coherent" and "Volatile", are not allowed. There are many differences regarding atomic and texture but this PR has changes limited to support `globallycoherent` keyword. When variables with `globallycoherent` is used with `OpLoad`, it will use additional options, `MakePointerAvailable|NonPrivatePointer`, that will provide the same effect. For `OpStore`, it will use `MakePointerVisible|NonPrivatePointer`.
Diffstat (limited to 'tests/cooperative-matrix/struct.slang')
-rw-r--r--tests/cooperative-matrix/struct.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cooperative-matrix/struct.slang b/tests/cooperative-matrix/struct.slang
index 592e553ae..586f958ca 100644
--- a/tests/cooperative-matrix/struct.slang
+++ b/tests/cooperative-matrix/struct.slang
@@ -1,4 +1,4 @@
-//TEST(compute):COMPARE_COMPUTE(filecheck-buffer=CHECK):-vk -output-using-type -emit-spirv-directly -skip-spirv-validation
+//TEST(compute):COMPARE_COMPUTE(filecheck-buffer=CHECK):-vk -output-using-type -emit-spirv-directly
// CHECK: type: float
// CHECK-NEXT: 1.000000