diff options
Diffstat (limited to 'tests/compute/interface-local.slang')
| -rw-r--r-- | tests/compute/interface-local.slang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/compute/interface-local.slang b/tests/compute/interface-local.slang index 714a72cca..4c6e78cc2 100644 --- a/tests/compute/interface-local.slang +++ b/tests/compute/interface-local.slang @@ -44,7 +44,7 @@ RWStructuredBuffer<int> gOutputBuffer; void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID) { uint tid = dispatchThreadID.x; - int inputVal = tid; + int inputVal = int(tid); int outputVal = test(inputVal); gOutputBuffer[tid] = outputVal; }
\ No newline at end of file |
