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