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