diff options
Diffstat (limited to 'tests/cross-compile/func-resource-param-array.slang')
| -rw-r--r-- | tests/cross-compile/func-resource-param-array.slang | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/cross-compile/func-resource-param-array.slang b/tests/cross-compile/func-resource-param-array.slang index 7062169dc..d7b7fca99 100644 --- a/tests/cross-compile/func-resource-param-array.slang +++ b/tests/cross-compile/func-resource-param-array.slang @@ -32,7 +32,6 @@ void main(uint3 tid : SV_DispatchThreadID) { uint ii = tid.x; uint jj = tid.y; - uint kk = tid.z; // Can we specialize `f`? // @@ -56,7 +55,7 @@ void main(uint3 tid : SV_DispatchThreadID) // What if the function takes an array, and we pass // in an element of an array-of-arrays? // - tmp += g(c[ii], jj, kk); + tmp += g(c[ii], jj, tid.z); a[ii] = tmp; } |
