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