Module: vkd3d Branch: master Commit: 254e812b12574337c21957532d628bc0d24c0b50 URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/254e812b12574337c21957532d628b...
Author: Conor McCarthy cmccarthy@codeweavers.com Date: Tue Jan 23 13:47:01 2024 +1000
tests/shader-runner: Add an asuint() test to the 64-bit cast tests.
---
tests/hlsl/cast-64-bit.shader_test | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
diff --git a/tests/hlsl/cast-64-bit.shader_test b/tests/hlsl/cast-64-bit.shader_test index aa558ec9..efdf9263 100644 --- a/tests/hlsl/cast-64-bit.shader_test +++ b/tests/hlsl/cast-64-bit.shader_test @@ -19,6 +19,23 @@ todo(sm<6) draw quad probe all rgba (-4.5, 8.5, 2.0, 2.0)
+[pixel shader todo] +uniform double2 d; + +uint4 main() : sv_target +{ + uint4 result; + asuint(d.x, result.x, result.y); + asuint(d.y, result.z, result.w); + return result; +} + +[test] +uniform 0 double2 -4.5 8.500003814697266 +todo draw quad +probe all rgbaui (0, 0xc0120000, 0x80000000, 0x40210000) + + [require] shader model >= 6.0 int64