glsl: allow duplicate layout-qualifier-names
authorTimothy Arceri <timothy.arceri@collabora.com>
Fri, 15 Jan 2016 00:01:25 +0000 (11:01 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 19 Jan 2016 21:06:29 +0000 (08:06 +1100)
commitc8b8c578d145f90794611602eb66fc7d3f1df033
treec0bcad7e0c9b4a7667a5df2fd27d6800b37fb190
parent866a6bf9f70625517d6d2c17be9523b9f035f1db
glsl: allow duplicate layout-qualifier-names

This is added by ARB_enhanced_layouts although it doesn't fit
into any of the six main changes so we enable this independently.

From the ARB_enhanced_layouts spec:

   "More than one layout qualifier may appear in a single
   declaration. Additionally, the same layout-qualifier-name
   can occur multiple times within a layout qualifier or across
   multiple layout qualifiers in the  same declaration"

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/glsl/ast_type.cpp