diff options
author | Timothy Arceri <timothy.arceri@collabora.com> | 2016-01-20 10:49:54 +1100 |
---|---|---|
committer | Timothy Arceri <timothy.arceri@collabora.com> | 2016-01-20 15:45:56 +1100 |
commit | 0a6a05c8eaeda570891fdece2d86e8e0b0e4d56f (patch) | |
tree | 1281ba68b6afc1848b257e892992928bf6b2c11d /src/glsl | |
parent | b21973acaa67fb7945a12fc266e20281d7eb5375 (diff) |
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>
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/ast_type.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ast_type.cpp b/src/glsl/ast_type.cpp index cf494d9672..e0e331152d 100644 --- a/src/glsl/ast_type.cpp +++ b/src/glsl/ast_type.cpp @@ -74,6 +74,7 @@ ast_type_qualifier::has_layout() const || this->flags.q.row_major || this->flags.q.packed || this->flags.q.explicit_location + || this->flags.q.explicit_image_format || this->flags.q.explicit_index || this->flags.q.explicit_binding || this->flags.q.explicit_offset |