summaryrefslogtreecommitdiff
path: root/tests/compute/simple.slang
diff options
context:
space:
mode:
authorskallweitNV <64953474+skallweitNV@users.noreply.github.com>2024-06-07 09:28:16 +0200
committerGitHub <noreply@github.com>2024-06-07 00:28:16 -0700
commit004fe27a52b7952111ad7e749397aeff499de7ed (patch)
tree6c7fccc6b2542079d911d903bb5e976d79efde2a /tests/compute/simple.slang
parent72f10a8cc21280c6a84b8f5917dabdb3da2f482e (diff)
Metal compute tests (#4292)
Diffstat (limited to 'tests/compute/simple.slang')
-rw-r--r--tests/compute/simple.slang3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/compute/simple.slang b/tests/compute/simple.slang
index 49628c47f..d9e642dd5 100644
--- a/tests/compute/simple.slang
+++ b/tests/compute/simple.slang
@@ -2,6 +2,7 @@
//TEST(smoke,compute):COMPARE_COMPUTE:-dx12 -use-dxil -shaderobj
//TEST(smoke,compute):COMPARE_COMPUTE:-cpu -shaderobj
//TEST(smoke,compute):COMPARE_COMPUTE:-vk -shaderobj
+//TEST(smoke,compute):COMPARE_COMPUTE:-mtl -shaderobj
//TEST(smoke,compute):COMPARE_COMPUTE:-cuda -shaderobj
//TEST(smoke,compute):COMPARE_COMPUTE(filecheck-buffer=CHECK):-cpu -shaderobj
@@ -19,4 +20,4 @@ RWStructuredBuffer<float> outputBuffer;
void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID)
{
outputBuffer[dispatchThreadID.x] = float(dispatchThreadID.x);
-} \ No newline at end of file
+}