Sign in
dawn
/
dawn
/
35e4e5a3ffdcf91a0e12e5d42f82d16129e8a18c
/
.
/
test
/
tint
/
builtins
/
frexp.wgsl.expected.fxc.hlsl
blob: 83b4db5602a9af9d19efc3fefb6834635b2f3d85 [
file
] [
log
] [
blame
]
struct
frexp_result_f32
{
float
fract
;
int
exp
;
};
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
frexp_result_f32 res
=
{
0.61500000953674316406f
,
1
};
int
exp
=
res
.
exp
;
float
fract
=
res
.
fract
;
return
;
}