Henri Verbeet pushed to branch master at wine / vkd3d
Commits: b2cddecf by Elizabeth Figura at 2024-09-23T15:43:15+02:00 vkd3d-shader/hlsl: Use add_cast() in append_conditional_break().
Instead of creating a cast node directly.
This specifically handles the 1x1 matrix case, which currently the backend code does not expect.
- - - - - 650bf4d8 by Elizabeth Figura at 2024-09-23T15:43:15+02:00 vkd3d-shader/hlsl: Fix a corner case in ternary type conversion.
If the condition and argument types are compatible, i.e. there is no broadcast, the resulting shape should be the shape of the arguments, not the shape of the condition.
- - - - -
3 changed files:
- libs/vkd3d-shader/hlsl.y - tests/hlsl/cf-cond-types.shader_test - tests/hlsl/ternary.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/1e97e1203f2fe60d40ac1448660f7...