Sign in
dawn
/
dawn
/
0e4a030b1708b80e5c7430a5b7fa0e34dfbd230c
/
.
/
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
;
}