mesa: test against MaxUniformComponents in check_resources()
authorBrian Paul <brianp@vmware.com>
Fri, 11 Mar 2011 17:03:40 +0000 (10:03 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 11 Mar 2011 17:04:17 +0000 (10:04 -0700)
commitd7db14ab7d66520b6030c0aa48c94507179a8d4e
tree42e2e1ccd8da4b2fa5ea8dd73c49c3b15eea4426
parente0e94026a0648d6b33d6b7cf2b9b01429cf945e4
mesa: test against MaxUniformComponents in check_resources()

Since we're compiling/linking GLSL shaders we should check against
the shader uniform limits, not the legacy vertex/fragment program
parameter limits which are usually lower.
src/mesa/program/ir_to_mesa.cpp