#include #include using namespace metal; struct SSBO { int4 value; }; kernel void main0(device SSBO& _10 [[buffer(0)]], texture2d uImage [[texture(0)]]) { _10.value = uImage.read(uint2(int2(10))); }