Sign in
dawn
/
dawn
/
c11e2ed2572c4ea87355112d48a990c10951df07
/
.
/
test
/
tint
/
ptr_sugar
/
vector_member.wgsl.expected.msl
blob: b4b88f1ff90a6b147fcfe461d0487d322e806b62 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
void
deref
()
{
int3 a
=
0
;
int
b
=
a
[
0
];
a
[
0
]
=
42
;
}
void
no_deref
()
{
int3 a
=
0
;
int
b
=
a
[
0
];
a
[
0
]
=
42
;
}
kernel
void
tint_symbol
()
{
deref
();
no_deref
();
return
;
}