summaryrefslogtreecommitdiffstats
path: root/tests/compute/array-existential-parameter.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compute/array-existential-parameter.slang')
-rw-r--r--tests/compute/array-existential-parameter.slang8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/compute/array-existential-parameter.slang b/tests/compute/array-existential-parameter.slang
index fc697969d..2775c2add 100644
--- a/tests/compute/array-existential-parameter.slang
+++ b/tests/compute/array-existential-parameter.slang
@@ -1,7 +1,7 @@
// Test using existential shader parameter that is an interface array.
-//DISABLED_TEST(compute):COMPARE_COMPUTE:-cpu
-//DISABLE_TEST(compute):COMPARE_COMPUTE:-cuda
+//TEST(compute):COMPARE_COMPUTE:-cpu
+//TEST(compute):COMPARE_COMPUTE:-cuda
[anyValueSize(8)]
interface IInterface
@@ -17,10 +17,10 @@ struct Params
IInterface values[2];
};
-//TEST_INPUT:cbuffer(data=[rtti(MyImpl) witness(MyImpl, IInterface) 1 0], stride=4):name=gCb
+//TEST_INPUT:set gCb = new{ values: [ new MyImpl{ val: 1 } ] }
ConstantBuffer<Params> gCb;
-//TEST_INPUT:cbuffer(data=[rtti(MyImpl) witness(MyImpl, IInterface) 1 0], stride=4):name=gCb2
+//TEST_INPUT:set gCb2 = new{ values: [ new MyImpl{ val: 1 } ] }
ConstantBuffer<Params> gCb2;
[numthreads(4, 1, 1)]