Henri Verbeet pushed to branch master at wine / vkd3d
Commits: be318421 by Elizabeth Figura at 2025-10-09T13:20:46+02:00 vkd3d-shader/hlsl: Return a node from lower_ir().
This allows us to use the same function for "folding" passes, which usually replace with a node other than the last one added in a block.
- - - - - f3522eae by Elizabeth Figura at 2025-10-09T13:21:47+02:00 vkd3d-shader/hlsl: Rename lower_ir() to replace_ir().
We want to use it for folding passes as well, but describing these as "lowering" is not very accurate. Use the more generic term "replace".
- - - - - 2a4ac90a by Elizabeth Figura at 2025-10-09T13:21:47+02:00 vkd3d-shader/hlsl: Use replace_ir() for fold_swizzle_chains().
- - - - - adc8d5cf by Elizabeth Figura at 2025-10-09T13:21:47+02:00 vkd3d-shader/hlsl: Use replace_ir() for fold_trivial_swizzles().
- - - - - 0bfed658 by Elizabeth Figura at 2025-10-09T13:21:47+02:00 vkd3d-shader/hlsl: Use replace_ir() for fold_redundant_casts().
- - - - -
3 changed files:
- libs/vkd3d-shader/hlsl.c - libs/vkd3d-shader/hlsl.h - libs/vkd3d-shader/hlsl_codegen.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/b1672fd3fecdf1b4d3d4c793c5a4f...