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