glsl: Keep track of centroid/interpolation mode for interface block members.
authorPaul Berry <stereotype441@gmail.com>
Tue, 22 Oct 2013 22:11:51 +0000 (15:11 -0700)
committerPaul Berry <stereotype441@gmail.com>
Fri, 25 Oct 2013 05:01:10 +0000 (22:01 -0700)
commit99512dc40d762d15d636ea711c496bd0350ef7f1
tree679d5dffee517cf4816497f7a37a6e48305a576e
parente17d671d9f64fe135a10ec54dd5b5a6beacfd991
glsl: Keep track of centroid/interpolation mode for interface block members.

Fixes piglit tests:
- interface-block-interpolation-{array,named,unnamed}
- glsl-1.50-interface-block-centroid {array,named,unnamed}

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/ast_to_hir.cpp
src/glsl/builtin_variables.cpp
src/glsl/glsl_types.cpp
src/glsl/glsl_types.h
src/glsl/lower_named_interface_blocks.cpp