SPIRV-Cross/reference/shaders/desktop-only/frag/clip-cull-distance.desktop.frag

13 lines
190 B
GLSL
Raw Normal View History

#version 450
in float gl_ClipDistance[4];
in float gl_CullDistance[3];
layout(location = 0) out float FragColor;
void main()
{
FragColor = gl_ClipDistance[0] + gl_CullDistance[0];
}