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