i965: Replace intel_state.c enums with those from brw_defines.h.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 29 Jun 2013 01:46:47 +0000 (18:46 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 3 Jul 2013 17:48:13 +0000 (10:48 -0700)
commit7ee616f1bff9e3c3ee7d01e6079731431b83aa5f
tree08dee55b2d0bcefed63fe4ce2c2246626d5f1ae1
parentc9db037dc999eadbcaa8816c814e6ec1776d1a40
i965: Replace intel_state.c enums with those from brw_defines.h.

Both intel_context.h and brw_defines.h have #defines for comparison
functions, stencil ops, blending logic ops, and blending factors.
They're exactly the same values, so it makes sense to pick one.

brw_defines.h is the logical place for this kind of stuff, so this patch
converts intel_state.c to use the set defined there.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/gen6_blorp.cpp
src/mesa/drivers/dri/i965/intel_context.h
src/mesa/drivers/dri/i965/intel_state.c