-
46839348
by Francisco Casas at 2026-04-27T20:36:11+02:00
tests/hlsl: Test side-effects on for loop conditionals.
-
2a83fedb
by Francisco Casas at 2026-04-27T20:36:18+02:00
tests/hlsl: Test loops with limiters and a maximum number of iterations.
-
856dbd47
by Francisco Casas at 2026-04-27T20:41:46+02:00
tests/hlsl: Test "i < limit" expressions inside loops.
-
94bd8b77
by Francisco Casas at 2026-04-27T20:41:52+02:00
tests/hlsl: Test d3dbc loops with a float iterator.
NOTE: similar to 28ab3d150b20c257b08d87e78e480d0007f41d01, this test
causes a test failure on the Windows CI:
shader_runner.c:1718: loop-sm3.shader_test:483: Model 3.0:
Test failed: Got {5.15000000e+002, 5.15000000e+002, 5.15000000e+002, 4.20000000e+001},
expected {5.10000000e+002, 5.10000000e+002, 5.10000000e+002, 4.20000000e+001} at (0, 0).
This is a bug on WARP (d3d10warp.dll) version 1.10.16.1 used by the CI,
and doesn't happen on Windows using d3d10warp.dll version 10.0.19041.2788.
-
53d62420
by Francisco Casas at 2026-04-27T20:41:52+02:00
vkd3d-shader/hlsl: Detect limiters with a capped number of iterations.
Avoid miscompiling as if they were loops without a limiter in these
cases.
-
660a751e
by Francisco Casas at 2026-04-27T20:41:52+02:00
vkd3d-shader/hlsl: Introduce a helper to identify "k < n" expressions.
-
064cc1b7
by Francisco Casas at 2026-04-27T20:41:52+02:00
vkd3d-shader/hlsl: Detect "i < n" limiter expressions with float iterators.
If the iterator is float, the limiter should also be detected, even
though it is cast to float before the comparison.