mesa: added gl_program::IndirectRegisterFiles field
authorBrian Paul <brianp@vmware.com>
Fri, 30 Jul 2010 20:24:23 +0000 (14:24 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 30 Jul 2010 20:29:19 +0000 (14:29 -0600)
commit56643096f1eb01eefa1a532ac096b32d23b6b8ba
tree0ba325dd7148936ca0e6bce0b2f3fae3bd6e68be
parent79ab5b9798c911e7612e26616df82e98372549bf
mesa: added gl_program::IndirectRegisterFiles field

Now drivers, etc. can know which register files are accessed with
indirect addressing.  Before we just checked gl_program::NumAddressRegs
but didn't know if that was the constant buffer, temp regs, or what.

The only user of this new field so far will be the gallium state tracker.
src/mesa/main/mtypes.h
src/mesa/program/arbprogparse.c
src/mesa/program/nvvertparse.c
src/mesa/program/prog_print.c
src/mesa/program/program.c
src/mesa/program/program_parse.tab.c
src/mesa/program/program_parse.y
src/mesa/slang/slang_link.c