mesa: Refactor parameter processing in set_combiner_(operand|source)
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 8 Sep 2010 17:46:10 +0000 (10:46 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 8 Sep 2010 23:26:15 +0000 (16:26 -0700)
commitde1ffd2f62257c174325d877c327d56b1a9e6cbc
tree813293304ce12562bca3f39b1d4ebf6f5af70ecb
parent1a2d498b4164f457c48e9fde9ae8bbadfcf7fa72
mesa: Refactor parameter processing in set_combiner_(operand|source)

The enum values were chosen to have sequential values for a reason.
Use that to compact and simplify the code.
src/mesa/main/texenv.c