SPIRV-Cross/reference/shaders-msl/frag/early-fragment-tests.frag
Hans-Kristian Arntzen d6be21543d MSL: Split out early_fragment_tests.
Was causing compilation failures, jumped the merge a bit too soon.
2018-11-12 16:20:49 +01:00

18 lines
262 B
GLSL

#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct main0_out
{
float4 FragColor [[color(0)]];
};
[[ early_fragment_tests ]] fragment main0_out main0()
{
main0_out out = {};
out.FragColor = float4(1.0);
return out;
}