blob: 4c51b62db140adf88e6e7fdbfce4a6a8f2464493 [file] [log] [blame] [edit]
#include <metal_stdlib>
using namespace metal;
struct Out {
float4 pos;
float none;
float flat;
float perspective_center;
float perspective_centroid;
float perspective_sample;
float linear_center;
float linear_centroid;
float linear_sample;
};
struct tint_symbol_1 {
float none [[user(locn0)]];
float flat [[user(locn1)]] [[flat]];
float perspective_center [[user(locn2)]] [[center_perspective]];
float perspective_centroid [[user(locn3)]] [[centroid_perspective]];
float perspective_sample [[user(locn4)]] [[sample_perspective]];
float linear_center [[user(locn5)]] [[center_no_perspective]];
float linear_centroid [[user(locn6)]] [[centroid_no_perspective]];
float linear_sample [[user(locn7)]] [[sample_no_perspective]];
float4 pos [[position]];
};
Out tint_symbol_inner() {
Out const tint_symbol_2 = {};
return tint_symbol_2;
}
vertex tint_symbol_1 tint_symbol() {
Out const inner_result = tint_symbol_inner();
tint_symbol_1 wrapper_result = {};
wrapper_result.pos = inner_result.pos;
wrapper_result.none = inner_result.none;
wrapper_result.flat = inner_result.flat;
wrapper_result.perspective_center = inner_result.perspective_center;
wrapper_result.perspective_centroid = inner_result.perspective_centroid;
wrapper_result.perspective_sample = inner_result.perspective_sample;
wrapper_result.linear_center = inner_result.linear_center;
wrapper_result.linear_centroid = inner_result.linear_centroid;
wrapper_result.linear_sample = inner_result.linear_sample;
return wrapper_result;
}