Ben Clayton | b07a7ce | 2021-06-03 11:26:17 +0000 | [diff] [blame] | 1 | #include <metal_stdlib> |
| 2 | |
| 3 | using namespace metal; |
James Price | 0f1efe0 | 2021-06-11 12:46:26 +0000 | [diff] [blame] | 4 | void 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 Clayton | b07a7ce | 2021-06-03 11:26:17 +0000 | [diff] [blame] | 6 | } |
| 7 | |
James Price | 8094553 | 2021-08-12 19:47:20 +0000 | [diff] [blame] | 8 | fragment void fragment_main(texture2d<float, access::sample> tint_symbol_2 [[texture(0)]], sampler tint_symbol_3 [[sampler(0)]]) { |
James Price | 0f1efe0 | 2021-06-11 12:46:26 +0000 | [diff] [blame] | 9 | textureSampleBias_6a9113(tint_symbol_2, tint_symbol_3); |
Ben Clayton | b07a7ce | 2021-06-03 11:26:17 +0000 | [diff] [blame] | 10 | return; |
| 11 | } |
| 12 | |