summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2019-09-12 10:15:53 -0400
committerGitHub <noreply@github.com>2019-09-12 10:15:53 -0400
commitbde858b31ac99b84ffba546d1022b34bb4621d49 (patch)
treeeac101eedb86189f6dc8fbdcba8c70f92daccf0e /tests
parent047daae9300c8a94d28383cf992ce00e3ad2da1e (diff)
ParameterBlock support. (#1049)
* Updated docs to reflect ParameterBlock support * Fixed CPU binding to handle ParameterBlocks * Updated parameter-block.slang to be able to work as a CPU test
Diffstat (limited to 'tests')
-rw-r--r--tests/compute/parameter-block.slang5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/compute/parameter-block.slang b/tests/compute/parameter-block.slang
index c409fe22d..8c1675405 100644
--- a/tests/compute/parameter-block.slang
+++ b/tests/compute/parameter-block.slang
@@ -1,7 +1,8 @@
//TEST(compute):COMPARE_COMPUTE:
+//TEST(compute):COMPARE_COMPUTE:-cpu
-//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):dxbinding(0),glbinding(0),out
-//TEST_INPUT:ubuffer(data=[0 1 2 3], stride=4):dxbinding(1),glbinding(1)
+//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):dxbinding(0),glbinding(0),out,name=block0.buffer
+//TEST_INPUT:ubuffer(data=[0 1 2 3], stride=4):dxbinding(1),glbinding(1),name=block1.buffer
// Ensure that Slang `ParameterBlock` type is lowered
// to HLSL in the fashion that we expect.