vkd3d-shader/ir: Implement MAD in two operations if flagged as precise.

With some changes by Giovanni Mascellani.
This commit is contained in:
Conor McCarthy
2024-04-11 12:38:24 +02:00
committed by Alexandre Julliard
parent 9112a5be58
commit 23db066922
Notes: Alexandre Julliard 2024-04-15 22:23:02 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Conor McCarthy (@cmccarthy)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/779
3 changed files with 82 additions and 1 deletions

View File

@@ -121,7 +121,7 @@ uniform 0 float4 1.00000007 -42.1 4.0 45.0
uniform 4 float4 1.625 -5.0 4.125 5.0
uniform 8 float4 1.00000007 -1.0 0.5 -0.5
todo(sm<6) draw quad
todo probe all rgba (2.62500048, 209.5, 17.0, 224.5)
probe all rgba (2.62500048, 209.5, 17.0, 224.5)
[require]
shader model >= 5.0