i965: Replace fprintfs with assertions in GLenum comparison translators.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 29 Jun 2013 02:03:06 +0000 (19:03 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 3 Jul 2013 17:48:14 +0000 (10:48 -0700)
commit251cdcf059a3554f7d76c76147b53add2dc8fd63
tree52c9cb7fa7ab25808ee34aa193163f2099ea0af0
parent7ee616f1bff9e3c3ee7d01e6079731431b83aa5f
i965: Replace fprintfs with assertions in GLenum comparison translators.

These functions translate GLenum comparison operations into the hardware
enumerations.  They should never be passed something other than a GL
comparison operator, or something is very broken.

Assertions seem more appropriate than fprintf.

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