Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 043f6f21 by Henri Verbeet at 2025-06-26T16:02:38+02:00 vkd3d-shader/ir: Create SSA values with the corresponding dimension in vsir_program_lower_sm4_sincos().
For example, in the final test from trigonometry.shader_test, we have:
sincos r1.x v4:float, null <float>, l(3.00000000e+01) <s:float>
which currently gets turned into
mov sr0.xyzw v4:float, l(3.00000000e+01) <s:float> sin r1.x v4:float, sr0.xyzw v4:float
That doesn't seem ideal, and should possibly be rejected by the validator, but ends up working out well enough for the SPIR-V backend. It's a bit more problematic to deal with for the GLSL backend.
- - - - - 22ebccfe by Henri Verbeet at 2025-06-26T16:08:32+02:00 vkd3d-shader/ir: Create SSA values with the corresponding dimension in vsir_program_lower_udiv().
- - - - -
1 changed file:
- libs/vkd3d-shader/ir.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/96cd4cc9540e68b31e833ea8d891f...