Sign in
dawn
/
dawn
/
0dc5c3fdea0fc8c8be4657a52f0a9053a91e387c
/
.
/
test
/
tint
/
builtins
/
frexp
/
scalar
/
const.wgsl.expected.dxc.hlsl
blob: 88afcbf118c3042a1f1c10c025c14876366cf051 [
file
] [
log
] [
blame
]
struct
frexp_result_f32
{
float
fract
;
int
exp
;
};
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
frexp_result_f32 res
=
{
0.625f
,
1
};
float
fract
=
res
.
fract
;
int
exp
=
res
.
exp
;
return
;
}