summaryrefslogtreecommitdiffstats
path: root/tests/compute/dynamic-dispatch-bindless-texture.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compute/dynamic-dispatch-bindless-texture.slang')
-rw-r--r--tests/compute/dynamic-dispatch-bindless-texture.slang7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/compute/dynamic-dispatch-bindless-texture.slang b/tests/compute/dynamic-dispatch-bindless-texture.slang
index a4483c9e1..8a9d0c128 100644
--- a/tests/compute/dynamic-dispatch-bindless-texture.slang
+++ b/tests/compute/dynamic-dispatch-bindless-texture.slang
@@ -1,6 +1,6 @@
// Test using interface typed shader parameters with texture typed fields.
-//DISABLED_TEST(compute):COMPARE_COMPUTE:-cpu
-//DISABLED_TEST(compute):COMPARE_COMPUTE:-cuda
+//TEST(compute):COMPARE_COMPUTE:-cpu
+//TEST(compute):COMPARE_COMPUTE:-cuda
[anyValueSize(16)]
interface IInterface
@@ -10,8 +10,7 @@ interface IInterface
//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name=gOutputBuffer
RWStructuredBuffer<uint> gOutputBuffer;
-//TEST_INPUT: Texture2D(size=8, content = one):name t2D,bindless
-//TEST_INPUT:ubuffer(data=[rtti(MyImpl) witness(MyImpl, IInterface) handle(t2D) 0 0], stride=4):name=gCb
+//TEST_INPUT: set gCb = new StructuredBuffer<IInterface>{new MyImpl{Texture2D(size=8, content = one)}}
StructuredBuffer<IInterface> gCb;
[numthreads(4, 1, 1)]