summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/metal/simple-compute.slang3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/metal/simple-compute.slang b/tests/metal/simple-compute.slang
index fe797dc2c..56d8fefd4 100644
--- a/tests/metal/simple-compute.slang
+++ b/tests/metal/simple-compute.slang
@@ -1,9 +1,12 @@
//TEST:SIMPLE(filecheck=CHECK): -target metal
+//TEST:SIMPLE(filecheck=CHECK-ASM): -target metallib
uniform RWStructuredBuffer<float> outputBuffer;
// CHECK: {{.*}}kernel{{.*}} void main_kernel(float device* {{.*}})
+// CHECK-ASM: define void @main_kernel
+
void func(float v)
{
outputBuffer[0] = v;