Compiling the following shader:
#extension GL_ARB_explicit_attrib_location : warn
layout(triangle_strip, max_vertices = 4) out;
yields the following warning:
0:3(24): warning: GL_ARB_explicit_attrib_location layout identifier `max_vertices' used
This is bogus - max_vertices is part of 1.50, and was never part of the GL_ARB_explicit_attrib_location extension. It appears that as people have added more layout qualifiers, they haven't sorted out the warn flags appropriately.
It would be nice to fix this.
Created attachment 98220 [details] [review]
patch to fix the issue
Patch fixes the warnings for GL_ARB_explicit_attrib_location.
fix pushed to master
on Mar 26, 2017 at 13:07:30.
(provided by the Example extension).