glsl: add missing explicit_stream flag to has_layout()
authorTimothy Arceri <timothy.arceri@collabora.com>
Fri, 15 Jan 2016 02:45:48 +0000 (13:45 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Mon, 18 Jan 2016 02:09:16 +0000 (13:09 +1100)
commiteac2cece3143e07f0f229df15ab757b4f265b9a3
tree55ba61ce4b3648ffde024596f36d6a076914011f
parent86677f101641c75d52577e3cd9e76441b1228b21
glsl: add missing explicit_stream flag to has_layout()

This will allow the ARB_shading_language_420pack rules in
glsl_parser.yy for catching duplicate layout qualifiers to be
triggered for the stream identifier rather than relying on the
code meant to catch duplicates within a single layout(...)

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/glsl/ast_type.cpp