blob: 6bc998c22ec50788643f921f50c7b26d36abde4b [file] [edit]
#include <metal_stdlib>
using namespace metal;
struct FragmentOutputs {
float frag_depth;
uint sample_mask;
};
struct tint_symbol_outputs {
float FragmentOutputs_frag_depth [[depth(any)]];
uint FragmentOutputs_sample_mask [[sample_mask]];
};
FragmentOutputs tint_symbol_inner() {
return FragmentOutputs{.frag_depth=1.0f, .sample_mask=1u};
}
fragment tint_symbol_outputs tint_symbol() {
FragmentOutputs const v = tint_symbol_inner();
tint_symbol_outputs tint_wrapper_result = {};
tint_wrapper_result.FragmentOutputs_frag_depth = v.frag_depth;
tint_wrapper_result.FragmentOutputs_sample_mask = v.sample_mask;
return tint_wrapper_result;
}