glsl: introduce data section to ir_variable
authorTapani Pälli <tapani.palli@intel.com>
Thu, 12 Dec 2013 10:57:57 +0000 (12:57 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 12 Dec 2013 15:28:06 +0000 (17:28 +0200)
commitc1d3080ee86cd3d914712ffe0bb533c5d6a6b271
treea890afb0ab7df128e3dc9ed5936e927141d8c60a
parentcbe7431cdb57edb87e53e61ff97db54831cc00b7
glsl: introduce data section to ir_variable

Data section helps serialization and cloning of a ir_variable. This
patch includes the helper bits used for read only ir_variables.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
18 files changed:
src/glsl/ast_function.cpp
src/glsl/ast_to_hir.cpp
src/glsl/builtin_variables.cpp
src/glsl/ir.cpp
src/glsl/ir.h
src/glsl/ir_clone.cpp
src/glsl/ir_print_visitor.cpp
src/glsl/ir_reader.cpp
src/glsl/ir_set_program_inouts.cpp
src/glsl/link_varyings.cpp
src/glsl/linker.cpp
src/glsl/loop_analysis.h
src/glsl/lower_named_interface_blocks.cpp
src/glsl/lower_packed_varyings.cpp
src/glsl/opt_cse.cpp
src/glsl/opt_function_inlining.cpp
src/glsl/tests/builtin_variable_test.cpp
src/mesa/drivers/dri/i965/brw_fs.cpp