2019-10-09 21:59:47 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
#include <simd/simd.h>
|
|
|
|
|
|
|
|
using namespace metal;
|
|
|
|
|
|
|
|
struct SSBO
|
|
|
|
{
|
2019-10-24 10:22:30 +00:00
|
|
|
float4 v[16];
|
2019-10-09 21:59:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
constant uint3 gl_WorkGroupSize [[maybe_unused]] = uint3(1u);
|
|
|
|
|
|
|
|
kernel void main0(device SSBO& _13 [[buffer(0)]])
|
|
|
|
{
|
|
|
|
_13.v[1] = _13.v[0];
|
|
|
|
}
|
|
|
|
|