SPIRV-Cross/shaders/desktop-only/vert/clip-cull-distance.desktop.sso.vert
2018-02-22 14:36:50 +01:00

14 lines
251 B
GLSL

#version 450
out float gl_ClipDistance[4];
out float gl_CullDistance[3];
void main()
{
gl_Position = vec4(1.0);
gl_ClipDistance[0] = 0.0;
gl_ClipDistance[1] = 0.0;
gl_ClipDistance[2] = 0.0;
gl_ClipDistance[3] = 0.0;
gl_CullDistance[1] = 4.0;
}