tests/hlsl: Fix the render target format for arithmetic-float-uniform.shader_test.

This commit is contained in:
Giovanni Mascellani
2025-11-21 15:30:27 +01:00
committed by Henri Verbeet
parent 1e4764d555
commit 63c71efb6e
Notes: Henri Verbeet 2025-12-02 14:37:50 +01:00
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1842

View File

@@ -511,6 +511,10 @@ bug(llvmpipe) probe (0, 0) u32(0x00000000, 0x00000000, 0x00000000, 0x00000000)
shader model >= 5.0
float64
[rtv 0]
format r32g32b32a32-uint
size (2d, 640, 480)
[pixel shader todo]
uniform double f;
@@ -532,6 +536,10 @@ todo(llvmpipe | intel) probe (0, 0) u64(0x0000b8157268fdaf, 0x009c16c5c5253574)
[require]
shader model >= 6.2
[rtv 0]
format r32g32b32a32-float
size (2d, 640, 480)
[pixel shader]
uniform float2 f;
@@ -557,10 +565,6 @@ uniform 0 uint4 0x000ae398 0x3c23d70a 0 0 % f32(1.0e-39,
draw quad
probe (0, 0) u32(0x000ae398, 0x00000000, 0x00000000, 0x00000000) % f32(1.0e-39, 0.0, 0.0, 0.0)
[rtv 0]
format r32g32b32a32-uint
size (2d, 640, 480)
% Per the specification, the denorm mode only applies to f32;
% f64 and f16 are always supposed to preserve denormals. Tests agree.
@@ -568,6 +572,10 @@ size (2d, 640, 480)
shader model >= 6.2
float64
[rtv 0]
format r32g32b32a32-uint
size (2d, 640, 480)
[pixel shader]
uniform double f;
@@ -595,6 +603,10 @@ todo(llvmpipe | intel) probe (0, 0) u64(0x0000b8157268fdaf, 0x009c16c5c5253574)
shader model >= 6.2
native-16-bit
[rtv 0]
format r32g32b32a32-float
size (2d, 640, 480)
[pixel shader]
uniform half2 f;