glsl: add missing explicit_image_format flag to has_layout()
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 19 Jan 2016 23:49:54 +0000 (10:49 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Wed, 20 Jan 2016 04:45:56 +0000 (15:45 +1100)
commit0a6a05c8eaeda570891fdece2d86e8e0b0e4d56f
tree1281ba68b6afc1848b257e892992928bf6b2c11d
parentb21973acaa67fb7945a12fc266e20281d7eb5375
glsl: add missing explicit_image_format flag to has_layout()

Fixes piglit regression after fixes to duplicate layout rules.

Previously catching multiple layouts was relying on the code
meant to catch duplicates within a single layout(...), this
change triggers the rules for multiple layouts.

Cc: Mark Janes <mark.a.janes@intel.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/glsl/ast_type.cpp