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