Sign in
dawn
/
dawn
/
3e01ddbb5c7e8f0bc03965a1497a6c7276e1ed24
/
.
/
test
/
tint
/
builtins
/
frexp.wgsl.expected.ir.dxc.hlsl
blob: 42828d5c6bd2f6bcfdb80102224aacb5ea647a7f [
file
] [
log
] [
blame
]
struct
frexp_result_f32
{
float
fract
;
int
exp
;
};
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
frexp_result_f32 res
=
{
0.61500000953674316406f
,
int
(
1
)};
int
exp
=
res
.
exp
;
float
fract
=
res
.
fract
;
}