mirror of
https://github.com/libretro/RetroArch
synced 2025-02-03 17:54:04 +00:00
501fd33b68
git-subtree-dir: deps/SPIRV-Cross git-subtree-split: d4b0625cbd7377e720b4fa1d63e6a3c09da5db63
22 lines
467 B
Plaintext
22 lines
467 B
Plaintext
#include <metal_stdlib>
|
|
#include <simd/simd.h>
|
|
|
|
using namespace metal;
|
|
|
|
constant uint _5_tmp [[function_constant(10)]];
|
|
constant uint _5 = is_function_constant_defined(_5_tmp) ? _5_tmp : 9u;
|
|
constant uint _6_tmp [[function_constant(12)]];
|
|
constant uint _6 = is_function_constant_defined(_6_tmp) ? _6_tmp : 4u;
|
|
constant uint3 gl_WorkGroupSize = uint3(_5, 20u, _6);
|
|
|
|
struct SSBO
|
|
{
|
|
float a;
|
|
};
|
|
|
|
kernel void main0(device SSBO& _4 [[buffer(0)]])
|
|
{
|
|
_4.a += 1.0;
|
|
}
|
|
|