blob: 6b0f215997345d2141b671cdd921d1d13e8e7209 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
texture2d<uint, access::sample> t;
sampler s;
};
fragment void tint_symbol(texture2d<uint, 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};
uint4 res = tint_module_vars.t.gather(tint_module_vars.s, float2(0.0f), int2(0), component::w);
}