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