ARB prog parser: fix parameter binding type
authorBrian Paul <brianp@vmware.com>
Tue, 5 Jan 2010 17:53:44 +0000 (10:53 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 5 Jan 2010 18:44:19 +0000 (11:44 -0700)
commitf0f68b1e4c3d3d23fc9a7d624a465537b2e74d6c
tree387a364db2964df697d12ed921a8fc9ef9fe4c83
parente3514b73388c9df36941c370837a04d90ca44ddd
ARB prog parser: fix parameter binding type

References to program local and enviroment parameters are put into the
unified program parameters list as PROGRAM_STATE_VAR entries which point
into the local or environment arrays.  So the param_binding_type field
should be PROGRAM_STATE_VAR.

This fixes the piglit vpfp-generic vp-arl-env-array.vpfp and
vp-arl-local-array.vpfp test failures.
src/mesa/shader/program_parse.y