mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
tests/hlsl: Explicitly specify the mantissa to be used for the frexp() test.
frexp() apparently returns the same mantissa, so we need to know what it is.
This commit is contained in:
committed by
Henri Verbeet
parent
463df8e1ea
commit
05d6b045bd
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
@@ -45,10 +45,11 @@ todo(sm<4) draw quad
|
||||
if(sm<4) probe (0, 0) f32(-NAN, -NAN, 0, 0)
|
||||
if(sm>=4) probe (0, 0) f32(129, 0.5, 0, 0)
|
||||
|
||||
uniform 0 float4 NAN 0 0 0
|
||||
% NaN, with a well defined mantissa (pi / 4)
|
||||
uniform 0 uint4 0x7fc90fdb 0 0 0
|
||||
todo(sm<4) draw quad
|
||||
if(sm<4) probe (0, 0) f32(NAN, NAN, 0, 0)
|
||||
if(sm>=4) probe (0, 0) f32(129, 0.75, 0, 0)
|
||||
if(sm>=4) probe (0, 0) f32(129, 0.785398185, 0, 0)
|
||||
|
||||
% Subnormals.
|
||||
uniform 0 uint4 0x0007ffff 0 0 0
|
||||
|
||||
Reference in New Issue
Block a user