mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-24 19:59:40 +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];
|
|
}
|