summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2020-02-08 11:19:31 -0500
committerGitHub <noreply@github.com>2020-02-08 11:19:31 -0500
commit0eed0125fa5e5f425d546efdc2b284b09ffc2785 (patch)
tree4ded20c4966f05881a056fad8146e34ac595063e /tests
parent7de90c1e0b42b565a5f46e2f9f7580e1f577d414 (diff)
Fixes to make all CPU compute shaders work on CUDA (#1211)
* Launch CUDA test taking into account dispatch size. * Enable isCPUOnly hack to work on CUDA. * Rename 'isCPUOnly' hack to 'onlyCPULikeBinding'. * Add $T special type. Support SampleLevel on CUDA. * Fix typo.
Diffstat (limited to 'tests')
-rw-r--r--tests/compute/entry-point-uniform-params.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/compute/entry-point-uniform-params.slang b/tests/compute/entry-point-uniform-params.slang
index af5a87616..4ca8d6786 100644
--- a/tests/compute/entry-point-uniform-params.slang
+++ b/tests/compute/entry-point-uniform-params.slang
@@ -34,7 +34,7 @@ ConstantBuffer<Signs> signs;
void computeMain(
//TEST_INPUT:cbuffer(data=[2 0 0 0 3 0 0 0]):name=stuff
uniform Stuff stuff,
-//TEST_INPUT:cbuffer(data=[3]):isCPUOnly,name=things
+//TEST_INPUT:cbuffer(data=[3]):onlyCPULikeBinding,name=things
uniform Things things,
//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name=outputBuffer