Henri Verbeet pushed to branch master at wine / vkd3d Commits: 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. - - - - - 7 changed files: - libs/vkd3d-shader/hlsl.c - libs/vkd3d-shader/hlsl.h - libs/vkd3d-shader/hlsl.y - libs/vkd3d-shader/hlsl_codegen.c - libs/vkd3d-shader/hlsl_constant_ops.c - tests/hlsl/bool-cast.shader_test - tests/hlsl/unroll.shader_test View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/d2bc849d91300e4e15ca3d7d89abb... -- View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/d2bc849d91300e4e15ca3d7d89abb... You're receiving this email because of your account on gitlab.winehq.org.