SPIRV-Cross/shaders-hlsl/vert/clip-cull-distance.vert
2018-02-22 17:00:41 +01:00

12 lines
197 B
GLSL

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