From ef08bdaf501982ae24a73200e55f99157e4b7e6a Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Fri, 8 Feb 2019 11:41:26 -0500 Subject: Hotfix/dispatch thread id improvements (#834) * * Make vector comparisons out correct functions on glsl * Test for vector comparisons * Typo fixes * Glsl vector comparisons use functions. * Added a coercion test. * Do checking for the SV_DispatchThreadId type to see if it appears valid. * Fix typo * Make glsl do type conversion for SV_DispatchThreadID parameter. * Fix glsl to match func-resource-param-array with changes to how SV_DispatchThreadID changes. --- tests/bugs/vec-compare.slang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/bugs') diff --git a/tests/bugs/vec-compare.slang b/tests/bugs/vec-compare.slang index 0eaec0191..b3075efe9 100644 --- a/tests/bugs/vec-compare.slang +++ b/tests/bugs/vec-compare.slang @@ -7,7 +7,7 @@ RWStructuredBuffer outputBuffer; [numthreads(4,4,1)] -void computeMain(uint3 pixelIndex : SV_DispatchThreadID) +void computeMain(uint2 pixelIndex : SV_DispatchThreadID) { // We will test floats, uints, and int vectors -- cgit v1.2.3