GLSL spec (1.10 to 1.50) 4.1.9 says: It is legal to declare an array without a size and then later re-declare the same name as an array of the same type and specify a size. But below code fails to compile: float array[]; float array[2]; This impacts piglit/tests/glslparsertest/shaders/CorrectUnsizedArray.frag: Error: declaration of 'gl_TexCoord' conflicts with previous declaration This bug is probably related to bug#25664. I'm cautiously using depend/block relationship, but they may be fixed together.
Fixed with glsl2 merge.
verified with mesa master d442a01ac14382d83cdaac87d2832315ceb3e963
bug/show.html.tmpl processed on Mar 20, 2017 at 09:46:41. (provided by the Example extension).