Use generic program limits instead of NV-specific ones to init program constants.
authorBrian <brian@yutani.localnet.net>
Mon, 16 Apr 2007 16:36:28 +0000 (10:36 -0600)
committerBrian <brian@yutani.localnet.net>
Mon, 16 Apr 2007 16:36:28 +0000 (10:36 -0600)
commit64e8088667d000a70beff93e8c300ac0bd261a60
treee7433aabf469052dfc47d1daf2c537e4c550bd2d
parent3dfcd48469b63c601010ea43e0d5e9ea1dc5dfab
Use generic program limits instead of NV-specific ones to init program constants.

Previously, this limited us to 12 temp regs for vertex programs.  Many vertex
shaders could exceed that.  This forces us to stop using t_vb_arbprogram.c
for now because of its particular register indexing scheme.  Need to increase
bits allocated for register indexing, etc.
src/mesa/main/context.c
src/mesa/tnl/t_vb_arbprogram.c