mirror of
https://github.com/libretro/RetroArch
synced 2025-02-02 05:54:16 +00:00
19 lines
280 B
Plaintext
19 lines
280 B
Plaintext
|
#include <metal_stdlib>
|
||
|
#include <simd/simd.h>
|
||
|
|
||
|
using namespace metal;
|
||
|
|
||
|
kernel void main0(uint gl_LocalInvocationIndex [[thread_index_in_threadgroup]])
|
||
|
{
|
||
|
threadgroup int u;
|
||
|
u = 50;
|
||
|
if (gl_LocalInvocationIndex == 0u)
|
||
|
{
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
u = 20;
|
||
|
}
|
||
|
}
|
||
|
|