2021-06-03 11:26:17 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
2022-06-02 14:36:10 +00:00
|
|
|
void textureSampleBias_a161cf(texture2d<float, access::sample> tint_symbol, sampler tint_symbol_1) {
|
2022-11-04 17:06:03 +00:00
|
|
|
float4 res = tint_symbol.sample(tint_symbol_1, float2(1.0f), bias(1.0f), int2(1));
|
2021-06-03 11:26:17 +00:00
|
|
|
}
|
|
|
|
|
2021-08-12 19:47:20 +00:00
|
|
|
fragment void fragment_main(texture2d<float, access::sample> tint_symbol_2 [[texture(0)]], sampler tint_symbol_3 [[sampler(0)]]) {
|
2022-06-02 14:36:10 +00:00
|
|
|
textureSampleBias_a161cf(tint_symbol_2, tint_symbol_3);
|
2021-06-03 11:26:17 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|