From 63c71efb6ebe9dca6edabaf37d6015fb6dd60989 Mon Sep 17 00:00:00 2001 From: Giovanni Mascellani Date: Fri, 21 Nov 2025 15:30:27 +0100 Subject: [PATCH] tests/hlsl: Fix the render target format for arithmetic-float-uniform.shader_test. --- .../hlsl/arithmetic-float-uniform.shader_test | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/tests/hlsl/arithmetic-float-uniform.shader_test b/tests/hlsl/arithmetic-float-uniform.shader_test index e6a0fee6a..0b73d933c 100644 --- a/tests/hlsl/arithmetic-float-uniform.shader_test +++ b/tests/hlsl/arithmetic-float-uniform.shader_test @@ -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;