bgfx/3rdparty/glslang/Test/spv.depthOut.frag
Branimir Karadžić f46d6a5803 Added glslang.
2016-12-15 14:19:54 -08:00

12 lines
146 B
GLSL

#version 450
in vec4 Color;
in float Depth;
layout(depth_greater) out float gl_FragDepth;
void main()
{
gl_FragDepth = Depth;
}