summaryrefslogtreecommitdiff
path: root/tests/compute/buffer-layout.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/buffer-layout.slang
parent72f10a8cc21280c6a84b8f5917dabdb3da2f482e (diff)
Metal compute tests (#4292)
Diffstat (limited to 'tests/compute/buffer-layout.slang')
-rw-r--r--tests/compute/buffer-layout.slang5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/compute/buffer-layout.slang b/tests/compute/buffer-layout.slang
index 8c71904c6..a456fa142 100644
--- a/tests/compute/buffer-layout.slang
+++ b/tests/compute/buffer-layout.slang
@@ -3,10 +3,11 @@
// The goal of this test is to make sure that constant and structured
// buffers obey the rules we expect of the each target API.
-//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -shaderobj
+//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -dx11 -shaderobj
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -dx12 -shaderobj
//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -shaderobj
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -cpu -shaderobj
+//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -cuda -shaderobj
//TEST_INPUT: ubuffer(data=[0 0 0 0], stride=4):out,name=outputBuffer
RWStructuredBuffer<int> outputBuffer;
@@ -128,4 +129,4 @@ void computeMain(
int inVal = tid;
int outVal = test(inVal);
outputBuffer[tid] = outVal;
-} \ No newline at end of file
+}