Sign in
dawn
/
dawn
/
ce207a7782c4ac883ed464b884ca19967b90b9de
/
.
/
test
/
tint
/
builtins
/
frexp
/
scalar
/
const.wgsl.expected.ir.fxc.hlsl
blob: f63612fd2352df0b0bdfa78b48c2ba50956dd1c9 [
file
] [
log
] [
blame
]
struct
frexp_result_f32
{
float
fract
;
int
exp
;
};
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
frexp_result_f32 v
=
{
0.625f
,
int
(
1
)};
frexp_result_f32 res
=
v
;
float
fract
=
res
.
fract
;
frexp_result_f32 v_1
=
v
;
int
exp
=
v_1
.
exp
;
}