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