mesa: be smarter about allocating vert/frag program constants
authorBrian Paul <brianp@vmware.com>
Wed, 6 May 2009 14:45:55 +0000 (08:45 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 6 May 2009 14:53:41 +0000 (08:53 -0600)
commit9b678af7967bb88044c5fe437e050472fa03eaca
treea21082aeb95d1f57f7161f7007b9920464ecb199
parent71fb9d62ece0177183efd5bb955d1f3292cb4376
mesa: be smarter about allocating vert/frag program constants

Try to re-use constants/literals more often to make best use of the
constant buffer space.

See bug 21354.
src/mesa/shader/arbprogparse.c