Sign in
dawn
/
dawn
/
f3e7db0c4ed2fe144a7f682e029f48e1c9ccf3ca
/
.
/
test
/
tint
/
builtins
/
frexp.wgsl.expected.ir.fxc.hlsl
blob: d6f3514a39ed0055ebd42ce6b20456f3504d0435 [
file
] [
log
] [
blame
]
struct
frexp_result_f32
{
float
fract
;
int
exp
;
};
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
frexp_result_f32 v
=
{
0.61500000953674316406f
,
int
(
1
)};
frexp_result_f32 res
=
v
;
int
exp
=
res
.
exp
;
frexp_result_f32 v_1
=
v
;
float
fract
=
v_1
.
fract
;
}