mesa/src/glsl/tests
Ian Romanick 491364e1f3 glsl: Add GLSL_TYPE_INTERFACE
Interfaces are structurally identical to structures from the compiler's
point of view.  They have some additional restrictions, and generally
GPUs use different instructions to access them.  Using a different base
type should make this a bit easier.

This commit also adds the glsl_type::interface_packing fields.  For
GLSL_TYPE_INTERFACE types, this will track the specified packing mode.
It is analogous to gl_uniform_buffer::_Packing.

v2: Add serveral missing GLSL_TYPE_INTERFACE cases in switch-statements.

v3: Add information about glsl_type::interface_packing.  Move row_major
checking in glsl_type::record_key_compare from this patch to the
previous patch.  Both suggested by Paul Berry.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-01-25 09:07:33 -05:00
..
lower_jumps glsl: Add unit tests for lower_jumps.cpp 2011-07-22 09:45:11 -07:00
.gitignore Clean up .gitignore files 2013-01-10 22:01:31 +01:00
compare_ir glsl: Add unit tests for lower_jumps.cpp 2011-07-22 09:45:11 -07:00
copy_constant_to_storage_tests.cpp glsl/tests: Add test for uniform initialization by the linker 2012-05-23 11:42:08 -07:00
optimization-test glsl/build: Build tests via the glsl Makefile 2013-01-22 14:33:24 -08:00
ralloc_test.cpp ralloc: Add some basic unit tests. 2012-05-30 21:49:41 -07:00
set_uniform_initializer_tests.cpp glsl/tests: Add test for uniform initialization by the linker 2012-05-23 11:42:08 -07:00
sexps.py glsl: Add unit tests for lower_jumps.cpp 2011-07-22 09:45:11 -07:00
uniform_initializer_utils.cpp glsl: Add GLSL_TYPE_INTERFACE 2013-01-25 09:07:33 -05:00
uniform_initializer_utils.h glsl/tests: Add test for uniform initialization by the linker 2012-05-23 11:42:08 -07:00