hlsl: Replace bare list pointers with hlsl_block, part 4.
Merge request reports
Activity
added 1 commit
- 93eeebb1 - vkd3d-shader/hlsl: Use a hlsl_block to build replacement instructions in lower_int_division().
Giovanni pointed out off-list that the new version now leaks instructions on error paths.
In order to resolve that I've shuffled things around in my local branch—4/5 is removed from this series (I'll send it separately later) and 5/5 is combined with a later patch I had that introduces a lower_ir() helper, which takes care of a bit more of the hlsl_block boilerplate. This lower_ir() helper ends up being useful for pretty much every lowering pass, of which we have quite a lot.
added 28 commits
-
93eeebb1...c0a2bb10 - 24 commits from branch
wine:master
- 77e1c589 - vkd3d-shader/hlsl: Return a hlsl_block from the "primary_expr" rule.
- 54bd6f7b - vkd3d-shader/hlsl: Return a hlsl_block from the "declaration_statement" rule.
- cdabe172 - vkd3d-shader/hlsl: Return a hlsl_block from the "declaration" and "struct_declaration" rules.
- d52eb859 - vkd3d-shader/hlsl: Use a hlsl_block to build replacement instructions in lower_int_division().
Toggle commit list-
93eeebb1...c0a2bb10 - 24 commits from branch
Please register or sign in to reply