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