summaryrefslogtreecommitdiffstats
path: root/tests/metal/test_buffer.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/metal/test_buffer.slang')
-rw-r--r--tests/metal/test_buffer.slang4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/metal/test_buffer.slang b/tests/metal/test_buffer.slang
index 122af3b9a..78959aa10 100644
--- a/tests/metal/test_buffer.slang
+++ b/tests/metal/test_buffer.slang
@@ -1,13 +1,17 @@
// Test that Buffer<T> maps to texture_buffer<uint, access::read> in Metal
//TEST:SIMPLE(filecheck=METAL): -stage compute -entry computeMain -target metal
+//TEST:SIMPLE(filecheck=METALLIB): -stage compute -entry computeMain -target metallib
+// No COMPARE_COMPUTE test; currently the test framework can't setup a Buffer<>
+// TODO: github issue #8456
// METAL: texture_buffer<uint, access::read> inputBuffer_{{.*}}
Buffer<uint> inputBuffer;
RWStructuredBuffer<uint> outputBuffer;
+// METALLIB: @computeMain
[numthreads(4, 1, 1)]
void computeMain(uint3 dtid : SV_DispatchThreadID)
{