Sign in
dawn
/
dawn
/
5ab2928f6ab2c2c9d899bf1220d4be7740f09664
/
.
/
test
/
tint
/
builtins
/
frexp.wgsl.expected.dxc.hlsl
blob: 477f97bd8412e5e431bed243454df103c7707a8d [
file
] [
log
] [
blame
]
struct
frexp_result_f32
{
float
fract
;
int
exp
;
};
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
const
frexp_result_f32 res
=
{
0.61500000953674316406f
,
1
};
const
int
exp
=
res
.
exp
;
const
float
fract
=
res
.
fract
;
return
;
}