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