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