blob: aae831bb7f5585187c7f9cf04e93c5c64995dd12 [file] [log] [blame]
Ben Claytonb07a7ce2021-06-03 11:26:17 +00001#include <metal_stdlib>
2
3using namespace metal;
James Price0f1efe02021-06-11 12:46:26 +00004void textureSampleBias_6a9113(texture2d<float, access::sample> tint_symbol, sampler tint_symbol_1) {
5 float4 res = tint_symbol.sample(tint_symbol_1, float2(), bias(1.0f));
Ben Claytonb07a7ce2021-06-03 11:26:17 +00006}
7
James Price80945532021-08-12 19:47:20 +00008fragment void fragment_main(texture2d<float, access::sample> tint_symbol_2 [[texture(0)]], sampler tint_symbol_3 [[sampler(0)]]) {
James Price0f1efe02021-06-11 12:46:26 +00009 textureSampleBias_6a9113(tint_symbol_2, tint_symbol_3);
Ben Claytonb07a7ce2021-06-03 11:26:17 +000010 return;
11}
12