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