mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Lower casts to int for SM1.
This commit is contained in:
committed by
Alexandre Julliard
parent
e62bd1927e
commit
e3ed5ac77e
Notes:
Alexandre Julliard
2024-02-15 23:59:05 +01:00
Approved-by: Zebediah Figura (@zfigura) Approved-by: Matteo Bruni (@Mystral) 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/608
@@ -1,4 +1,4 @@
|
||||
[pixel shader todo(sm<4)]
|
||||
[pixel shader]
|
||||
uniform float3 f;
|
||||
|
||||
float4 main() : sv_target
|
||||
@@ -10,7 +10,7 @@ float4 main() : sv_target
|
||||
|
||||
[test]
|
||||
uniform 0 float4 10.3 11.5 12.8 13.1
|
||||
todo(sm<4) draw quad
|
||||
draw quad
|
||||
probe all rgba (10, 11, 12, 0)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user