From 7f8a9994d0bd99a171a1daa0bce46d92c02ccffd Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 21 May 2021 16:38:33 -0700 Subject: [gfx] Support StructuredBuffer. (#1851) Co-authored-by: T. Foley --- tests/compute/dynamic-dispatch-bindless-texture.slang | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'tests/compute/dynamic-dispatch-bindless-texture.slang') 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 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{new MyImpl{Texture2D(size=8, content = one)}} StructuredBuffer gCb; [numthreads(4, 1, 1)] -- cgit v1.2.3