mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
vkd3d-shader/ir: Fix the addition swizzle in vsir_program_lower_precise_mad().
The swizzle from vsir_swizzle_from_writemask() is for use with a contiguous write mask starting at bit zero, but we need the final write mask to match that of the original MAD instruction. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58746
This commit is contained in:
committed by
Henri Verbeet
parent
f9d12e5596
commit
1c23976660
Notes:
Henri Verbeet
2025-10-15 13:00:34 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1781
@@ -201,7 +201,7 @@ uniform 0 float4 1.5 1.5 1.5 1.5
|
||||
uniform 4 float4 1.00000007 -42.1 1.625 -5.0
|
||||
uniform 8 float4 1.00000007 -1.0 2.0 2.0
|
||||
todo(glsl | msl) draw quad
|
||||
todo probe (0, 0) f32(6.0, 6.0, 3.93750072, 314.25) 1
|
||||
probe (0, 0) f32(6.0, 6.0, 3.93750072, 314.25) 1
|
||||
|
||||
[require]
|
||||
shader model >= 5.0
|
||||
|
||||
Reference in New Issue
Block a user