diff --git a/tests/hlsl/cast-to-half.shader_test b/tests/hlsl/cast-to-half.shader_test index a6846c084..f0f343341 100644 --- a/tests/hlsl/cast-to-half.shader_test +++ b/tests/hlsl/cast-to-half.shader_test @@ -52,12 +52,10 @@ float4 main() : sv_target [test] uniform 0 float4 65536.0 32768.0 65536.0 32768.0 draw quad -% The shader runner doesn't support floating-point special literals like "inf", -% but numbers beyond FLOAT_MAX consistently result in inf. -probe (0, 0) rgba(1.0e39, 1.0e39, 1.0e39, 16384.0) +probe (0, 0) f32(inf, inf, inf, 16384.0) uniform 0 float4 -65536.0 -32768.0 -65536.0 -32768.0 draw quad -probe (0, 0) rgba(-1.0e39, -1.0e39, -1.0e39, -16384.0) +probe (0, 0) f32(-inf, -inf, -inf, -16384.0) uniform 0 float4 0.000062 5.0e-8 0.000062 5.0e-8 draw quad probe (0, 0) rgba(0.00012397766, 1.1920929e-7, 0.000030994415, 0.0) 1