-
f51aa373
by Shaun Ren at 2026-01-13T15:51:05+01:00
tests/hlsl: Add some unroll attribute tests with non-static unroll limits.
-
50c26739
by Shaun Ren at 2026-01-13T15:55:44+01:00
vkd3d-shader/hlsl: Fold casting from floating numerals to bools correctly in fold_cast().
-
da975da8
by Shaun Ren at 2026-01-13T16:22:34+01:00
vkd3d-shader/hlsl: Remove flatten_conditional_branches() from hlsl_run_folding_passes().
Move it to hlsl_run_const_passes() instead.
In a future commit, hlsl_run_folding_passes() will be used to evaluate the
expression given in the unroll attribute for loop unrolling. However, for SM2
shaders, having flatten_conditional_branches() run before loop unrolling will
trigger the not-yet-implemented feature fixme
"Flattening conditional blocks with non-discard jump instructions",
since for SM2 all branches are force flattened.
-
194187c0
by Shaun Ren at 2026-01-13T16:24:41+01:00
vkd3d-shader/hlsl: Defer evaluating unroll limit attributes until needed.