blob: 827a2471259ebd59eee14653490b2a3414f75d30 [file] [log] [blame]
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct SSBO
{
int4 value;
};
kernel void main0(device SSBO& _10 [[buffer(1)]], texture2d<int> uImage [[texture(3)]])
{
_10.value = uImage.read(uint2(int2(10)));
}