Sign in
dawn
/
dawn
/
05c8daac420965194364a6647bfadf5322c284c2
/
.
/
test
/
tint
/
builtins
/
frexp
/
vector
/
const.wgsl.expected.fxc.hlsl
blob: 8bba86f638788c6ed9b1e5612d626592b4f24e8f [
file
] [
log
] [
blame
]
struct
frexp_result_vec2
{
float2 fract
;
int2 exp
;
};
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
const
frexp_result_vec2 res
=
{
float2
(
0.625f
,
0.9375f
),
int2
(
1
,
2
)};
const
float2 fract
=
res
.
fract
;
const
int2 exp
=
res
.
exp
;
return
;
}