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