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

16 lines
271 B
GLSL
Raw Normal View History

2017-03-05 11:44:29 +00:00
#version 450
out float gl_ClipDistance[4];
out float gl_CullDistance[3];
2017-03-05 11:44:29 +00:00
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;
2017-03-05 11:44:29 +00:00
}