ir_structure_splitting: New pass to chop structures into their components.
authorEric Anholt <eric@anholt.net>
Thu, 5 Aug 2010 18:01:09 +0000 (11:01 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 5 Aug 2010 19:56:03 +0000 (12:56 -0700)
commit7f7eaf0285d011f7cc7e1a63133184a50b24ecaa
treeaa08d5fccd9622a2b7a89851c5c9d2b86a902afb
parentc314c8f2310fa0ac51b8953e139f9504e08eb48f
ir_structure_splitting: New pass to chop structures into their components.

This doesn't do anything if your structure goes through an uninlined
function call or if whole-structure assignment occurs.  As such, the
impact is limited, at least until we do some global copy propagation
to reduce whole-structure assignment.
src/glsl/Makefile
src/glsl/ir_optimization.h
src/glsl/ir_structure_splitting.cpp [new file with mode: 0644]
src/glsl/linker.cpp