summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2019-08-26 15:45:28 -0400
committerGitHub <noreply@github.com>2019-08-26 15:45:28 -0400
commit2c4307a9c1a5d1ec92599bb6afe065636ff81df3 (patch)
treedda2f66dedfefa5b730a65250edff4a6eec66358 /tests
parent6a0ca6c6a23b8a29320b86be6aec50263f5d7d97 (diff)
WIP: CPU sample working with Texture2D (#1033)
* WIP: Memory binding. * WIP for binding. * Fix handling of writing to constant buffer. * Fix bug in handling indices.
Diffstat (limited to 'tests')
-rw-r--r--tests/compute/cbuffer-legalize.slang9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/compute/cbuffer-legalize.slang b/tests/compute/cbuffer-legalize.slang
index f60a7dbea..009876ff7 100644
--- a/tests/compute/cbuffer-legalize.slang
+++ b/tests/compute/cbuffer-legalize.slang
@@ -1,9 +1,10 @@
+//TEST(compute):COMPARE_COMPUTE:-cpu
//TEST(compute):COMPARE_COMPUTE:
-//TEST_INPUT:cbuffer(data=[1 2 3 4]):dxbinding(0),glbinding(0)
-//TEST_INPUT:Texture2D(size=4, content = one) : dxbinding(0),glbinding(0)
-//TEST_INPUT: Sampler : dxbinding(0),glbinding(0,1,2,3,4,5,6)
-//TEST_INPUT: ubuffer(data=[0 0 0 0], stride=4):dxbinding(0),glbinding(0),out
+//TEST_INPUT:cbuffer(data=[1 2 3 4]):dxbinding(0),glbinding(0),name=C.p.c
+//TEST_INPUT:Texture2D(size=4, content = one) : dxbinding(0),glbinding(0),name=C.p.t
+//TEST_INPUT: Sampler : dxbinding(0),glbinding(0,1,2,3,4,5,6),name=C.p.s
+//TEST_INPUT: ubuffer(data=[0 0 0 0], stride=4):dxbinding(0),glbinding(0),out,name=outputBuffer
struct P
{