Sign in
dawn
/
dawn
/
8124737f1dd32ca150b26c520e978f18369be16d
/
.
/
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
;
}