From 0eed0125fa5e5f425d546efdc2b284b09ffc2785 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Sat, 8 Feb 2020 11:19:31 -0500 Subject: 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. --- tests/compute/entry-point-uniform-params.slang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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; 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 -- cgit v1.2.3