i965/fs: Loop from 0 to inst->sources, not 0 to 3.
authorMatt Turner <mattst88@gmail.com>
Mon, 17 Mar 2014 17:39:43 +0000 (10:39 -0700)
committerMatt Turner <mattst88@gmail.com>
Sun, 1 Jun 2014 20:29:24 +0000 (13:29 -0700)
commitb1dcdcde2e323f960833f5c7da65d5c2c20113c9
tree6852fd268a2aa5ad096322a9f624879bc6293bd2
parent27e12a8ea933e2f978e0ce9286422e6025c7377d
i965/fs: Loop from 0 to inst->sources, not 0 to 3.

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
src/mesa/drivers/dri/i965/brw_fs_cse.cpp
src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp
src/mesa/drivers/dri/i965/brw_fs_generator.cpp
src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
src/mesa/drivers/dri/i965/brw_fs_register_coalesce.cpp
src/mesa/drivers/dri/i965/brw_fs_saturate_propagation.cpp
src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp