Sign in
dawn
/
dawn
/
41911d05584eef5a8b7237a3ff33b8c373df52a6
/
.
/
test
/
tint
/
builtins
/
frexp.wgsl.expected.fxc.hlsl
blob: 3e21c7ff638a0ad344e530ce41f8b0e344cac608 [
file
] [
log
] [
blame
]
struct
frexp_result
{
float
fract
;
int
exp
;
};
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
const
frexp_result res
=
{
0.61500001f
,
1
};
const
int
exp
=
res
.
exp
;
const
float
fract
=
res
.
fract
;
return
;
}