diff --git a/tests/ir/factorial.slang b/tests/ir/factorial.slang index 76653f055f..917668b692 100644 --- a/tests/ir/factorial.slang +++ b/tests/ir/factorial.slang @@ -26,7 +26,7 @@ int factorial(int n) [numthreads(1, 1, 1)] void main( - uint tid : SV_DispatchThreadIndex) + uint tid : SV_DispatchThreadID) { output[tid] = factorial(input[tid]); } diff --git a/tests/ir/string-literal-hash-reflection.slang b/tests/ir/string-literal-hash-reflection.slang index 44a0f36e95..6b2fbc7a2f 100644 --- a/tests/ir/string-literal-hash-reflection.slang +++ b/tests/ir/string-literal-hash-reflection.slang @@ -10,7 +10,7 @@ RWStructuredBuffer outputBuffer; [numthreads(4, 1, 1)] void computeMain( - uint tid : SV_DispatchThreadIndex) + uint tid : SV_DispatchThreadID) { int value = doSomethingElse() + getStringHash("Hello \t\n\0x083 World"); outputBuffer[tid] = value; diff --git a/tests/ir/string-literal.slang b/tests/ir/string-literal.slang index be05f6a8d6..d934959347 100644 --- a/tests/ir/string-literal.slang +++ b/tests/ir/string-literal.slang @@ -3,7 +3,7 @@ // CHECK: global_hashed_string_literals("Hello \t\n\0x083 World") [numthreads(1, 1, 1)] void main( - uint tid : SV_DispatchThreadIndex) + uint tid : SV_DispatchThreadID) { "Hello \t\n\0x083 World"; }