mirror of
https://github.com/libretro/RetroArch
synced 2025-02-08 15:40:14 +00:00
19 lines
266 B
Plaintext
19 lines
266 B
Plaintext
|
#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);
|
||
|
}
|
||
|
|