glsl: validate and store component layout qualifier in GLSL IR
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 10 Nov 2015 19:24:53 +0000 (06:24 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Sun, 1 May 2016 13:13:05 +0000 (23:13 +1000)
commit94438578d219d0f701a6324cf294ee23d102a978
tree85a0dd6953381fa82e8f50d4ccf56a9bd6f750fe
parent2d9936a6862b371adcb48dbda8d521a76ce18871
glsl: validate and store component layout qualifier in GLSL IR

We make use of the existing IR field location_frac used for tracking
component locations.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/ast_to_hir.cpp
src/compiler/glsl/ir.h