From: Eric Anholt Date: Fri, 19 Mar 2010 18:44:43 +0000 (-0700) Subject: i965: Optimize OPCODE_CMP by using BRW_SEL to choose results. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8a998342c6bf591f1969b432bdda1732d480ee56;p=mesa.git i965: Optimize OPCODE_CMP by using BRW_SEL to choose results. Tested with piglit glsl-fs-sqrt-branch, fp-cmp.vpfp. --- diff --git a/src/mesa/drivers/dri/i965/brw_wm_emit.c b/src/mesa/drivers/dri/i965/brw_wm_emit.c index 1869fd06d5a..5abc0672f3f 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_emit.c +++ b/src/mesa/drivers/dri/i965/brw_wm_emit.c @@ -620,14 +620,10 @@ void emit_cmp(struct brw_compile *p, for (i = 0; i < 4; i++) { if (mask & (1<