SPIRV-Cross/shaders-hlsl/vert/clip-cull-distance.vert

12 lines
197 B
GLSL
Raw Normal View History

#version 450
out float gl_ClipDistance[2];
2018-02-22 16:00:41 +00:00
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;
}