bgfx/3rdparty/glslang/Test/450.tesc

15 lines
269 B
Plaintext
Raw Normal View History

2016-12-16 01:19:54 +03:00
#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];
}