mesa: fix another "out of samplers" problem
authorBrian Paul <brianp@vmware.com>
Fri, 2 Jan 2009 19:26:15 +0000 (12:26 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 2 Jan 2009 19:28:37 +0000 (12:28 -0700)
commit1fad6ccb756ae33ca3115f59c99ca8abbeb0321e
tree766bda6b2a968d18d01d3eaf3ac2f138eed24621
parent4a6ad999ea312f0af85de621c8b6a15a3d3b7ffd
mesa: fix another "out of samplers" problem

Now only the samplers that are actually used by texture() functions are
saved in the uniform variable list.  Before, we could run out of samplers
if too many were declared while only some of them were actually used.
src/mesa/shader/prog_parameter.c
src/mesa/shader/slang/slang_emit.c
src/mesa/shader/slang/slang_link.c