mesa: updated fragment shader codegen for GL_NV_texture_env_combine4
authorBrian Paul <brianp@vmware.com>
Sat, 24 Jan 2009 00:32:09 +0000 (17:32 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 24 Jan 2009 00:32:09 +0000 (17:32 -0700)
commit6947f85cb5fbc433ba7763530285e470745b009b
tree73b2e6b8449c12ebd54fedf09757122025297535
parent2d508c1d5c53dc475e5262593dd4dac5575a6b08
mesa: updated fragment shader codegen for GL_NV_texture_env_combine4

Expand struct fields, increase loops and handle new 4-term ADD modes.
Plus, some new assertions to catch switch/default cases that may be incorrect.
src/mesa/main/texenvprogram.c