Sign in
dawn
/
dawn
/
a4bae3f8533286eb6d9f08cad8c8a2dce29a502d
/
.
/
test
/
tint
/
builtins
/
frexp
/
vector
/
const.wgsl.expected.ir.fxc.hlsl
blob: 1108378d36e56bc0933afbf3c6bd7e2eb818266a [
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
(
int
(
1
),
int
(
2
))};
float2 fract
=
res
.
fract
;
int2 exp
=
res
.
exp
;
}