Sign in
dawn
/
dawn
/
3d64565e2eb8fe4a377b18e288edac70d28d586f
/
.
/
test
/
tint
/
ptr_sugar
/
compound_assign_member.wgsl.expected.ir.dxc.hlsl
blob: ff87eabf202c543abb4050a7b35a5e5adc0d75c6 [
file
] [
log
] [
blame
]
void
deref
()
{
int3 a
=
(
int
(
0
)).
xxx
;
a
.
x
=
(
a
.
x
+
int
(
42
));
}
void
no_deref
()
{
int3 a
=
(
int
(
0
)).
xxx
;
a
.
x
=
(
a
.
x
+
int
(
42
));
}
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
deref
();
no_deref
();
}