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