i965: tell GLSL compiler to emit code using condition codes
authorBrian Paul <brianp@vmware.com>
Mon, 16 Feb 2009 18:45:57 +0000 (11:45 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 16 Feb 2009 19:04:16 +0000 (12:04 -0700)
commita9e753c84cc5acc2a89686a5e4109f3b056d4fb4
tree7025d60ba2beac41a22ee82e918c462b8e2912fd
parent0f4a91b50908ce4c1ae5fc65d73791608de30f06
i965: tell GLSL compiler to emit code using condition codes

The default for EmitCondCodes got flipped when gallium-0.2 was merged.
This fixes GLSL if/else/endif regressions.
Drivers that use GLSL should always explicitly set the flag to be safe.
src/mesa/drivers/dri/i965/brw_context.c