vkd3d-shader/spirv: Support 64-bit sources in spirv_compiler_emit_int_div().

This commit is contained in:
Conor McCarthy
2023-11-22 00:27:30 +10:00
committed by Alexandre Julliard
parent 13459a55f1
commit 99924d913b
Notes: Alexandre Julliard 2024-01-02 23:08:54 +01: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/490
2 changed files with 30 additions and 23 deletions

View File

@ -136,7 +136,7 @@ float4 main() : SV_TARGET
[test]
uniform 0 int64_t2 5000000000 16000000000
todo draw quad
draw quad
probe all rgba (21.0e9, -11.0e9, 5.0e18, 0.0) 1
[pixel shader]
@ -151,7 +151,7 @@ float4 main() : SV_TARGET
[test]
uniform 0 int64_t2 5000000000 16000000000
todo draw quad
draw quad
probe all rgba (5.0e9, 5.0e9, -5.0e9, 3.0)
[pixel shader]
@ -166,7 +166,7 @@ float4 main() : SV_TARGET
[test]
uniform 0 int64_t2 42000000000 5000000000
todo draw quad
draw quad
probe all rgba (8.0, -8.0, -8.0, 8.0)
[pixel shader]
@ -181,7 +181,7 @@ float4 main() : SV_TARGET
[test]
uniform 0 int64_t2 42000000000 5000000000
todo draw quad
draw quad
probe all rgba (2.0e9, -2.0e9, 2.0e9, -2.0e9)
[pixel shader]