diff options
| author | Yong He <yonghe@outlook.com> | 2023-06-01 13:53:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-01 13:53:31 -0700 |
| commit | 16cd361dd67471bcc355d1b3b72b0b022518088f (patch) | |
| tree | fa3a7d5b77ccf09f9340b78e66610ba8b751c855 /tests/compute/unbounded-array-of-array-syntax.slang.hlsl | |
| parent | a7ed48b2e6da9bf952aa11ec0d57acf9688bbb0e (diff) | |
Be lenient on same-size unsigend->signed conversion. (#2913)
* Be lenient on same-size unsigend->signed conversion.
* Fix tests.
* Use 250.
* wip
* Fix.
* Fix tests.
* Fix.
---------
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tests/compute/unbounded-array-of-array-syntax.slang.hlsl')
| -rw-r--r-- | tests/compute/unbounded-array-of-array-syntax.slang.hlsl | 2 |
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); } |
