mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-14 22:01:04 +00:00
1be8063e01
Also, generally allow ES variable indexing of in/out blocks.
15 lines
269 B
GLSL
15 lines
269 B
GLSL
#version 450 core
|
|
|
|
in gl_PerVertex {
|
|
float gl_CullDistance[3];
|
|
} gl_in[gl_MaxPatchVertices];
|
|
|
|
out gl_PerVertex {
|
|
float gl_CullDistance[3];
|
|
} gl_out[4];
|
|
|
|
void main()
|
|
{
|
|
gl_out[gl_InvocationID].gl_CullDistance[2] = gl_in[1].gl_CullDistance[2];
|
|
}
|