vkd3d-shader/dxil: Handle constexpr pointer cast.

This commit is contained in:
Conor McCarthy
2024-02-15 12:08:46 +10:00
committed by Alexandre Julliard
parent 2fc32c3d1d
commit fb730b11cf
Notes: Alexandre Julliard 2024-04-30 23:14:34 +02: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/836
3 changed files with 83 additions and 5 deletions

View File

@@ -16,8 +16,8 @@ float4 main(float4 pos : SV_Position) : SV_Target
[test]
uniform 0 uint4 0 1 0x3e000000 0
todo draw quad
draw quad
probe all rgba (0.25, 0.125, 0.0, 1.0)
uniform 0 uint4 1 0 0x3e000000 0
todo draw quad
draw quad
probe all rgba (0.5, 0.75, 0.0, 1.0)