summaryrefslogtreecommitdiff
path: root/tests/compute/unbounded-array-of-array-syntax.slang.hlsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compute/unbounded-array-of-array-syntax.slang.hlsl')
-rw-r--r--tests/compute/unbounded-array-of-array-syntax.slang.hlsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/compute/unbounded-array-of-array-syntax.slang.hlsl b/tests/compute/unbounded-array-of-array-syntax.slang.hlsl
index 3fd9ee8ea..5549c7dc3 100644
--- a/tests/compute/unbounded-array-of-array-syntax.slang.hlsl
+++ b/tests/compute/unbounded-array-of-array-syntax.slang.hlsl
@@ -24,7 +24,7 @@ void computeMain(vector<uint,3> dispatchThreadID_0 : SV_DISPATCHTHREADID)
uint bufferCount_0 = _S1;
- if((uint) innerIndex_1 >= bufferCount_0)
+ if(innerIndex_1 >= (int)bufferCount_0)
{
innerIndex_0 = (int) (bufferCount_0 - (uint) 1);
}