i965: Add new pass to split vectors into scalar variables
authorEric Anholt <eric@anholt.net>
Thu, 26 Aug 2010 19:02:26 +0000 (12:02 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 26 Aug 2010 21:55:44 +0000 (14:55 -0700)
commitc1dfdcb93a8991788032d4906c5bf1a5b48cdc48
treeb0dcc4585a8a6dede61e8dcb8b46394b76fd7656
parent3a8ad33dde2f059b82ebf09f5cffa66c86f2e734
i965: Add new pass to split vectors into scalar variables

Combined with the previous pass, this lets other optimization passes
do their work thanks to ir_tree_grafting.  Still have regression in
instruction count with INTEL_NEW_FS, but register count is even
better.
src/mesa/drivers/dri/i965/Makefile
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp [new file with mode: 0644]
src/mesa/drivers/dri/i965/brw_wm.h