r300/compiler: Add more helper functions for iterating through sources
authorTom Stellard <tstellar@gmail.com>
Fri, 24 Sep 2010 04:15:06 +0000 (21:15 -0700)
committerTom Stellard <tstellar@gmail.com>
Tue, 28 Sep 2010 06:17:11 +0000 (23:17 -0700)
commit798355d429f3cd6e76bb1d01549c203e443348b6
treee54818f3124e75e10b906e8d8ca92e593d28590b
parent34dba5f05aa36baecdc655f7f94fed871006d590
r300/compiler: Add more helper functions for iterating through sources

rc_for_all_reads_src() and rc_pair_for_all_reads_arg() pass references to
instruction sources to the callback so they can be modified directly.
src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c
src/mesa/drivers/dri/r300/compiler/radeon_dataflow.h