diff options
Diffstat (limited to 'tests/reflection')
| -rw-r--r-- | tests/reflection/unbounded-arrays.hlsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/reflection/unbounded-arrays.hlsl b/tests/reflection/unbounded-arrays.hlsl index 603bb6071..8f91919d4 100644 --- a/tests/reflection/unbounded-arrays.hlsl +++ b/tests/reflection/unbounded-arrays.hlsl @@ -137,7 +137,7 @@ [numthreads(4,1,1)] void main(uint3 tid : SV_DispatchThreadID) { - int idx = tid.x; + int idx = int(tid.x); float4 tmp = data[idx]; SamplerState s = aa[idx]; |
