From: Eric Anholt Date: Fri, 27 Aug 2010 20:14:15 +0000 (-0700) Subject: i965: Add generate() handling for AND, OR, XOR. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2776ad2641469d3bdb6f53b99fbd748efd277c51;p=mesa.git i965: Add generate() handling for AND, OR, XOR. 10 more piglit tests pass. --- diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 76000609404..336dbd63f35 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -1482,6 +1482,17 @@ fs_visitor::generate_code() case BRW_OPCODE_MUL: brw_MUL(p, dst, src[0], src[1]); break; + + case BRW_OPCODE_AND: + brw_AND(p, dst, src[0], src[1]); + break; + case BRW_OPCODE_OR: + brw_OR(p, dst, src[0], src[1]); + break; + case BRW_OPCODE_XOR: + brw_XOR(p, dst, src[0], src[1]); + break; + case BRW_OPCODE_CMP: brw_CMP(p, dst, inst->conditional_mod, src[0], src[1]); break;