Replace the numerous switch-statements to derive GL_COMBINE post-scale
authorIan Romanick <idr@us.ibm.com>
Fri, 1 Oct 2004 18:32:25 +0000 (18:32 +0000)
committerIan Romanick <idr@us.ibm.com>
Fri, 1 Oct 2004 18:32:25 +0000 (18:32 +0000)
commitbf4b63f8366c752e665caf96f9250364313a3638
tree256dfdf248277fb0b90e9fbf3d5cad02653cafb7
parent5e2e9ef45c4982c7aea33daf46386b57ce614252
Replace the numerous switch-statements to derive GL_COMBINE post-scale
state with a function.  This function sets the bits correctly.  Did some
trivial refactoring on some of the GL_COMBINE code.

First pass at replacing classic texture environments with GL_COMBINE.
This is controlled by the EXPERIMENTAL_COMBINE_MODE define.
src/mesa/drivers/dri/unichrome/via_state.c