SPIRV-Cross/reference/shaders-msl/frag/depth-greater-than.frag
2019-09-17 15:11:19 -04:00

21 lines
344 B
GLSL

#pragma clang diagnostic ignored "-Wmissing-braces"
#pragma clang diagnostic ignored "-Wunused-variable"
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct main0_out
{
float gl_FragDepth [[depth(greater)]];
};
fragment main0_out main0()
{
main0_out out = {};
out.gl_FragDepth = 0.5;
return out;
}