summaryrefslogtreecommitdiffstats
path: root/tests/language-feature
diff options
context:
space:
mode:
authorDarren Wihandi <65404740+fairywreath@users.noreply.github.com>2025-01-28 23:12:51 -0500
committerGitHub <noreply@github.com>2025-01-29 04:12:51 +0000
commit1c282b80b9fbcfea9dc3dab7f5f546b069143e01 (patch)
tree626a858fff466a0f0c54d4afbe4148a1a58caed4 /tests/language-feature
parentcf66563cfdcff9b7d76017e5b73319705ccdb735 (diff)
Implement WaveMultiPrefix* for SPIRV and GLSL (#6182)
Diffstat (limited to 'tests/language-feature')
-rw-r--r--tests/language-feature/capability/capabilitySimplification1.slang8
-rw-r--r--tests/language-feature/capability/capabilitySimplification3.slang8
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/language-feature/capability/capabilitySimplification1.slang b/tests/language-feature/capability/capabilitySimplification1.slang
index b694673e9..1d781a45e 100644
--- a/tests/language-feature/capability/capabilitySimplification1.slang
+++ b/tests/language-feature/capability/capabilitySimplification1.slang
@@ -6,9 +6,9 @@
// CHECK: error 36107
// CHECK-SAME: entrypoint 'computeMain' does not support compilation target 'glsl' with stage 'compute'
-// CHECK: capabilitySimplification1.slang(21): note: see using of 'WaveMultiPrefixProduct'
-// CHECK-NOT: see using of 'WaveMultiPrefixProduct'
-// CHECK: {{.*}}.meta.slang({{.*}}): note: see definition of 'WaveMultiPrefixProduct'
+// CHECK: capabilitySimplification1.slang(21): note: see using of 'WaveMultiPrefixCountBits'
+// CHECK-NOT: see using of 'WaveMultiPrefixCountBits'
+// CHECK: {{.*}}.meta.slang({{.*}}): note: see definition of 'WaveMultiPrefixCountBits'
// CHECK: {{.*}}.meta.slang({{.*}}): note: see declaration of 'require'
void nestedSafeCall()
@@ -18,7 +18,7 @@ void nestedSafeCall()
void nestedBadCall()
{
- WaveMultiPrefixProduct(1, 0);
+ WaveMultiPrefixCountBits(true, 0);
}
void nestedCall()
diff --git a/tests/language-feature/capability/capabilitySimplification3.slang b/tests/language-feature/capability/capabilitySimplification3.slang
index faf161d15..808c19bf6 100644
--- a/tests/language-feature/capability/capabilitySimplification3.slang
+++ b/tests/language-feature/capability/capabilitySimplification3.slang
@@ -5,13 +5,13 @@
// CHECK_IGNORE_CAPS-NOT: error 36107
// CHECK: error 36107: entrypoint 'computeMain' does not support compilation target 'glsl' with stage 'compute'
-// CHECK: capabilitySimplification3.slang(16): note: see using of 'WaveMultiPrefixProduct'
-// CHECK-NOT: see using of 'WaveMultiPrefixProduct'
-// CHECK: {{.*}}.meta.slang({{.*}}): note: see definition of 'WaveMultiPrefixProduct'
+// CHECK: capabilitySimplification3.slang(16): note: see using of 'WaveMultiPrefixCountBits'
+// CHECK-NOT: see using of 'WaveMultiPrefixCountBits'
+// CHECK: {{.*}}.meta.slang({{.*}}): note: see definition of 'WaveMultiPrefixCountBits'
// CHECK: {{.*}}.meta.slang({{.*}}): note: see declaration of 'require'
[numthreads(1,1,1)]
void computeMain()
{
- WaveMultiPrefixProduct(1, 0);
+ WaveMultiPrefixCountBits(true, 0);
}