glsl: Track matrix layout of variables using two bits
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 18 Jul 2014 18:23:06 +0000 (11:23 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 4 Aug 2014 21:40:07 +0000 (14:40 -0700)
commitd561e79a6766e5a3303facfc357a2efd5effecad
tree34bc9f342f9f36321bad2ead004188521f0cfb4d
parent68fa4cab1a3e80d97f759253dcc392e451ab110a
glsl: Track matrix layout of variables using two bits

Fixes gles3conform failures in:

ES3-CTS.shaders.uniform_block.random.nested_structs_arrays_instance_arrays.3
ES3-CTS.shaders.uniform_block.random.all_per_block_buffers.13

Causes gles3conform failures in:

ES3-CTS.shaders.uniform_block.random.all_per_block_buffers.9

This failure will be fixed shortly.

v2: Use without_array() instead of older predicates.

v3: s/GLSL_MATRIX_LAYOUT_DEFAULT/GLSL_MATRIX_LAYOUT_INHERITED/g

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com> [v1]
src/glsl/ast_to_hir.cpp
src/glsl/ir.h
src/glsl/link_uniform_blocks.cpp
src/glsl/link_uniforms.cpp