Sign in
dawn
/
dawn
/
cdfb6e78a88fb970a83c52edd1db060b65a56e44
/
.
/
test
/
tint
/
ptr_sugar
/
compound_assign_member.wgsl.expected.dxc.hlsl
blob: 630d44f0ec8e80d7b3d57fbd149f65cb5fa3bdc5 [
file
] [
log
] [
blame
]
void
deref
()
{
int3 a
=
int3
(
0
,
0
,
0
);
a
.
x
=
(
a
.
x
+
42
);
}
void
no_deref
()
{
int3 a
=
int3
(
0
,
0
,
0
);
a
.
x
=
(
a
.
x
+
42
);
}
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
deref
();
no_deref
();
return
;
}