Sign in
fuchsia
/
third_party
/
spirv-cross
/
upstream/travis-windows
/
.
/
reference
/
shaders-msl
/
comp
/
functions.comp
blob: d8f6e55a467337b74f8f2439bd6efabc3a82b438 [
file
] [
log
] [
blame
]
#pragma
clang diagnostic ignored
"-Wmissing-prototypes"
#include
<metal_stdlib>
#include
<simd/simd.h>
using
namespace
metal
;
void
myfunc
(
threadgroup
int
(&
foo
)[
1337
])
{
foo
[
0
]
=
13
;
}
kernel
void
main0
()
{
threadgroup
int
foo
[
1337
];
myfunc
(
foo
);
}