gallivm: replace has_indirect_addressing field with indirect_files field
authorBrian Paul <brianp@vmware.com>
Wed, 21 Jul 2010 15:59:23 +0000 (09:59 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 21 Jul 2010 16:16:32 +0000 (10:16 -0600)
commit3662afd87d61e3f65843b210a7e8c9c8a6cb27f0
treea373a049d6b4bbd80aa651e965c14ea95f86bdb4
parent85206e56a1c3400be47229d4a8c6a1cd7a2f476e
gallivm: replace has_indirect_addressing field with indirect_files field

Instead of one big boolean indicating indirect addressing, use a
bitfield indicating which register files are accessed with indirect
addressing.

Most shaders that use indirect addressing only use it to access the
constant buffer.  So no need to use an array for temporary registers
in this case.
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c