vkd3d-shader/ir: Determine the correct writemask for destinations with fixed masks.

This commit is contained in:
Shaun Ren
2025-10-02 16:15:18 -04:00
committed by Henri Verbeet
parent e5081a1bf9
commit b5e2e1dd06
Notes: Henri Verbeet 2025-10-16 15:22:12 +02:00
Approved-by: Francisco Casas (@fcasas)
Approved-by: Elizabeth Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1766
2 changed files with 17 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
[require]
% The sincos instruction has different semantics in SM2 and SM3. Test both versions.
compile shader model 2.0
compile shader model 3.0
[vertex shader]
void main(float4 pos : position, out float tex : texcoord, out float4 out_pos : sv_position)
{