2017-11-22 11:08:06 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
#include <simd/simd.h>
|
|
|
|
|
|
|
|
using namespace metal;
|
|
|
|
|
|
|
|
struct SSBO2
|
|
|
|
{
|
|
|
|
uint outputs[1];
|
|
|
|
};
|
|
|
|
|
2018-04-04 08:00:37 +00:00
|
|
|
kernel void main0(device SSBO2& _23 [[buffer(0)]], device SSBO2& _10 [[buffer(1)]], uint3 gl_GlobalInvocationID [[thread_position_in_grid]])
|
2017-11-22 11:08:06 +00:00
|
|
|
{
|
2018-03-12 13:58:40 +00:00
|
|
|
_10.outputs[gl_GlobalInvocationID.x] = _23.outputs[gl_GlobalInvocationID.x] / 29u;
|
2017-11-22 11:08:06 +00:00
|
|
|
}
|
|
|
|
|