Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 3db45869 by Giovanni Mascellani at 2024-12-17T16:44:00+01:00 vkd3d-shader/ir: Remove a redundant assignment.
The hull shader control point normalisation pass already ensures that output registers in the control point phase have two indices (the control point index and the register index).
- - - - - a68fd1b0 by Giovanni Mascellani at 2024-12-17T16:44:00+01:00 vkd3d-shader/ir: Simplify shader_register_normalise_arrayed_addressing().
The two branches do essentially the same thing, but in different ways and each one omitting different details. In particular there is no need to discriminate on whether the register is a relative address, we can just copy the NULL pointer.
- - - - -
1 changed file:
- libs/vkd3d-shader/ir.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/e8cc288426955036a26ca4cac64f1...