mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-13 21:50:06 +00:00
699684180f
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27714 e7fa87d3-cd2b-0410-9028-fcbf551c1848
15 lines
235 B
GLSL
15 lines
235 B
GLSL
#version 450 core
|
|
|
|
in gl_PerVertex {
|
|
float gl_CullDistance[3];
|
|
} gl_in[gl_MaxPatchVertices];
|
|
|
|
out gl_PerVertex {
|
|
float gl_CullDistance[3];
|
|
};
|
|
|
|
void main()
|
|
{
|
|
gl_CullDistance[2] = gl_in[1].gl_CullDistance[2];
|
|
}
|