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