blob: 0138a4bae2aa26fb3845f0dbb403c32cb3537989 [file] [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_outputs {
float4 Out_pos [[position]];
float Out_none [[user(locn0)]];
float Out_flat [[user(locn1)]] [[flat]];
float Out_perspective_center [[user(locn2)]] [[center_perspective]];
float Out_perspective_centroid [[user(locn3)]] [[centroid_perspective]];
float Out_perspective_sample [[user(locn4)]] [[sample_perspective]];
float Out_linear_center [[user(locn5)]] [[center_no_perspective]];
float Out_linear_centroid [[user(locn6)]] [[centroid_no_perspective]];
float Out_linear_sample [[user(locn7)]] [[sample_no_perspective]];
};
Out tint_symbol_inner() {
return Out{};
}
vertex tint_symbol_outputs tint_symbol() {
Out const v = tint_symbol_inner();
tint_symbol_outputs tint_wrapper_result = {};
tint_wrapper_result.Out_pos = v.pos;
tint_wrapper_result.Out_none = v.none;
tint_wrapper_result.Out_flat = v.flat;
tint_wrapper_result.Out_perspective_center = v.perspective_center;
tint_wrapper_result.Out_perspective_centroid = v.perspective_centroid;
tint_wrapper_result.Out_perspective_sample = v.perspective_sample;
tint_wrapper_result.Out_linear_center = v.linear_center;
tint_wrapper_result.Out_linear_centroid = v.linear_centroid;
tint_wrapper_result.Out_linear_sample = v.linear_sample;
return tint_wrapper_result;
}