glsl: Track matrix layout of structure fields using two bits
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 16 Jul 2014 23:51:14 +0000 (16:51 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 4 Aug 2014 21:40:07 +0000 (14:40 -0700)
commit814d694160da436a2b6218976b212e52478802b7
treef561daed5c3a30defa27b156aa0819069c8c83c6
parentab7098c8dfeb0c6de508b02a34c592aa4e343dff
glsl: Track matrix layout of structure fields using two bits

v2: Rename GLSL_MATRIX_LAYOUT_DEFAULT to GLSL_MATRIX_LAYOUT_INHERITED.
Add comments in glsl_types.h explaining the layouts.  Suggested by Matt.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/ast_to_hir.cpp
src/glsl/builtin_types.cpp
src/glsl/builtin_variables.cpp
src/glsl/glsl_types.cpp
src/glsl/glsl_types.h
src/glsl/link_uniforms.cpp