tnl: Delay results allocation until we actually need them.
authorEric Anholt <eric@anholt.net>
Thu, 22 Sep 2011 18:28:19 +0000 (11:28 -0700)
committerEric Anholt <eric@anholt.net>
Sun, 2 Oct 2011 05:16:06 +0000 (22:16 -0700)
commitf7f678331d5e95d2266fe6b3ea1cfa47d6421065
tree05cbf176e37e2b2aa8a70c0caa6c9e99402447f4
parentfe006a74f6fd1ddeec778226111938193a995a6c
tnl: Delay results allocation until we actually need them.

Decreases i965 peak memory allocation for a trivial shader program
from 23,483,048B to 21,932,128B, since we never actually use tnl for
rendering.
src/mesa/tnl/t_vb_program.c