vkd3d-shader/hlsl: Lower non-float operators for SM1.

This commit is contained in:
Francisco Casas
2024-02-21 16:17:45 -03:00
committed by Alexandre Julliard
parent a3319339e4
commit 747511131d
Notes: Alexandre Julliard 2024-03-06 23:29:16 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Zebediah Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/671
2 changed files with 64 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ uniform 0 float4 45.0 5.0 0.0 0.0
todo(sm<4) draw quad
probe all rgba (0.0, 0.0, 0.0, 0.0)
[pixel shader todo(sm<4)]
[pixel shader]
uniform float4 a;
float4 main() : SV_TARGET
@@ -98,7 +98,7 @@ float4 main() : SV_TARGET
[test]
uniform 0 float4 5.0 -7.0 0.0 -10.0
todo(sm<4) draw quad
draw quad
probe all rgba (5.0, 7.0, 0.0, 10.0)
[pixel shader todo(sm<4)]