summaryrefslogtreecommitdiff
path: root/tests/compute/assoctype-func-param.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compute/assoctype-func-param.slang')
-rw-r--r--tests/compute/assoctype-func-param.slang4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/compute/assoctype-func-param.slang b/tests/compute/assoctype-func-param.slang
index fb3875d60..573016e4b 100644
--- a/tests/compute/assoctype-func-param.slang
+++ b/tests/compute/assoctype-func-param.slang
@@ -1,8 +1,9 @@
+//TEST(compute):COMPARE_COMPUTE:-cpu
//TEST(compute):COMPARE_COMPUTE:
-//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):dxbinding(0),glbinding(0),out
// Test type checking of associatedtype and typedef
+//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):dxbinding(0),glbinding(0),out,name=outputBuffer
RWStructuredBuffer<float> outputBuffer;
interface IBase
@@ -41,7 +42,6 @@ U.RetT test<U:IBase>(U.RetT val)
return obj.getVal(sb);
}
-
[numthreads(4, 1, 1)]
void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID)
{