Sign in
dawn
/
dawn
/
05c8daac420965194364a6647bfadf5322c284c2
/
.
/
test
/
tint
/
builtins
/
frexp.wgsl.expected.fxc.hlsl
blob: 3e21c7ff638a0ad344e530ce41f8b0e344cac608 [
file
] [
log
] [
blame
]
struct
frexp_result
{
float
fract
;
int
exp
;
};
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
const
frexp_result res
=
{
0.61500001f
,
1
};
const
int
exp
=
res
.
exp
;
const
float
fract
=
res
.
fract
;
return
;
}