blob: 576f94a9fd5b14ba77cad3b13d47f7e9816ec7f2 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
texture2d<int, access::sample> t;
sampler s;
};
fragment void tint_symbol(texture2d<int, access::sample> t [[texture(0)]], sampler s [[sampler(0)]]) {
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.t=t, .s=s};
int4 res = tint_module_vars.t.gather(tint_module_vars.s, float2(0.0f), int2(0), component::w);
}