glsl: simplify interface block stream qualifier validation
authorTimothy Arceri <timothy.arceri@collabora.com>
Fri, 6 Nov 2015 23:53:53 +0000 (10:53 +1100)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Tue, 10 Nov 2015 01:02:30 +0000 (12:02 +1100)
commita4a46fe3fa566b2918f7323e7f0eede17f118f03
tree61223d29cd89e5c4bb1009d70bef95fa73761d8a
parent3ea3727998add8ba201e48934febc96be2cbdb99
glsl: simplify interface block stream qualifier validation

Qualifiers on member variables are redundent all we need to do
if check if it matches the stream associated with the block and
throw an error if its not.

Reviewed-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Cc: Emil Velikov <emil.l.velikov@gmail.com>
src/glsl/ast_to_hir.cpp
src/glsl/nir/glsl_types.h