vkd3d-shader/spirv: Always use a 64-bit write mask for IMMCONST64 src params.

There is no way to tell in spirv_compiler_emit_load_reg() if the write
mask is 64-bit. All loads are 32-bit except for IMMCONST64 and SSA, and
the latter ignores the mask, so the only issue lies with IMMCONST64.
This commit is contained in:
Conor McCarthy
2024-02-27 17:48:36 +10:00
committed by Alexandre Julliard
parent 13143700b7
commit 5082893e5d
Notes: Alexandre Julliard 2024-03-06 23:29:32 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/675
2 changed files with 6 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ float4 main() : sv_target
}
[test]
todo draw quad
todo(sm<6) draw quad
if(sm<6) probe uav 1 (0) ri (12)
if(sm>=6) probe uav 1 (0) rd (12.2)
@@ -54,6 +54,6 @@ float4 main() : sv_target
}
[test]
todo draw quad
draw quad
probe uav 1 (0) ri64 (-12)
probe uav 1 (1) rd (13.3)