Sign in
dawn
/
dawn
/
f76df6beee5cc510d5f7101560b63e418d1dbbf4
/
.
/
test
/
tint
/
ptr_sugar
/
compound_assign_member.wgsl.expected.fxc.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
;
}