glsl: add support for explicit locations inside interface blocks
authorTimothy Arceri <timothy.arceri@collabora.com>
Mon, 30 Nov 2015 23:34:18 +0000 (10:34 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 15 Dec 2015 02:10:44 +0000 (13:10 +1100)
commit0aeb9b3e5eab57ae5d96047cee7b2c58811b455b
tree92d2368f2f6e7122cd6ec95aa4fa6167f5eb3b32
parent183c606066b1b260acb189e46a40cb71e63b44aa
glsl: add support for explicit locations inside interface blocks

This change also adds explicit location support for structs and interfaces which
is currently missing in Mesa but is allowed with SSO and GLSL 1.50+.

Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
src/glsl/ast.h
src/glsl/ast_to_hir.cpp
src/glsl/glsl_parser.yy
src/glsl/link_interface_blocks.cpp