glsl: fix texgen state variable tokens in emit_statevars()
authorBrian Paul <brianp@vmware.com>
Wed, 1 Apr 2009 13:35:07 +0000 (07:35 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 1 Apr 2009 13:37:08 +0000 (07:37 -0600)
commitf8dd6594bf1d597b883af44e5d724a181c1e2b53
treed0cbd4ab0f31550f63093348340ce0a0d7b72652
parent2555bed7fcc6f9ba35e9fb91e84a144621ccc995
glsl: fix texgen state variable tokens in emit_statevars()

This fixes broken variable indexing into the gl_Eye/ObjectPlaneS/T/R/Q arrays.
See bug 20986.
src/mesa/shader/slang/slang_builtin.c