tests/hlsl: Skip testing frexp(inf) for shader models < 4.

This commit is contained in:
Giovanni Mascellani
2025-09-21 22:47:54 +02:00
committed by Henri Verbeet
parent 05d6b045bd
commit 1acd6188f3
Notes: Henri Verbeet 2025-09-29 13:05:17 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1751

View File

@@ -37,12 +37,12 @@ probe (0, 0) f32(0.0, 0.0, 0.0, 0.0)
uniform 0 float4 INF 0.0 0.0 0.0
todo(sm<4) draw quad
if(sm<4) probe (0, 0) f32(-NAN, -NAN, 0, 0)
% Results for sm<4 are not uniform across drivers.
if(sm>=4) probe (0, 0) f32(129, 0.5, 0, 0)
uniform 0 float4 -INF 0.0 0.0 0.0
todo(sm<4) draw quad
if(sm<4) probe (0, 0) f32(-NAN, -NAN, 0, 0)
% Results for sm<4 are not uniform across drivers.
if(sm>=4) probe (0, 0) f32(129, 0.5, 0, 0)
% NaN, with a well defined mantissa (pi / 4)