From 8a998342c6bf591f1969b432bdda1732d480ee56 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 19 Mar 2010 11:44:43 -0700 Subject: [PATCH] i965: Optimize OPCODE_CMP by using BRW_SEL to choose results. Tested with piglit glsl-fs-sqrt-branch, fp-cmp.vpfp. --- src/mesa/drivers/dri/i965/brw_wm_emit.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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<