st/mesa: raise shader MaxParameters if driver supports more
authorBrian Paul <brianp@vmware.com>
Wed, 27 Apr 2011 15:31:30 +0000 (09:31 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 27 Apr 2011 17:58:42 +0000 (11:58 -0600)
commitf9cc6acbfa6f6f91b29a0601436d91a330fdce79
tree5b667d58493db2386f6f65ea10148061bb45ad54
parentf3c92c2323b1a00e592a2bae739c420a52d4285b
st/mesa: raise shader MaxParameters if driver supports more

The default value is 64 but drivers usually advertise more, like 4096.
Allows ARB vp/fp programs to use more parameters.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/state_tracker/st_extensions.c