mesa: Replace the EmitNoIfs compiler flag with a MaxIfDepth flag.
authorBryan Cain <bryancain3@gmail.com>
Wed, 31 Aug 2011 22:28:53 +0000 (17:28 -0500)
committerBryan Cain <bryancain3@gmail.com>
Thu, 1 Sep 2011 02:49:26 +0000 (21:49 -0500)
commit488fe51cf823ccd137c667f1e92dd86f8323b723
tree498eaba0b4e1e0de46ef932417d9e6b6e8165c20
parent7b1d94e5d1f53ac5f59000176aea1d02fc9a1181
mesa: Replace the EmitNoIfs compiler flag with a MaxIfDepth flag.

This is a better, more fine-grained way of lowering if statements.  Fixes the
game And Yet It Moves on nv50.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i915/i915_context.c
src/mesa/main/mtypes.h
src/mesa/program/ir_to_mesa.cpp
src/mesa/state_tracker/st_extensions.c
src/mesa/state_tracker/st_glsl_to_tgsi.cpp