From: Christoph Bumiller Date: Fri, 21 Jan 2011 15:23:44 +0000 (+0100) Subject: nvc0: accept neg abs modifiers on lg2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8e572998fc28c1daacca9d9835a71e94a62c6c6c;p=mesa.git nvc0: accept neg abs modifiers on lg2 --- diff --git a/src/gallium/drivers/nvc0/nvc0_pc_emit.c b/src/gallium/drivers/nvc0/nvc0_pc_emit.c index db8055d91cd..e3097c95694 100644 --- a/src/gallium/drivers/nvc0/nvc0_pc_emit.c +++ b/src/gallium/drivers/nvc0/nvc0_pc_emit.c @@ -446,7 +446,7 @@ emit_flop(struct nv_pc *pc, struct nv_instruction *i, ubyte op) pc->emit[0] |= op << 26; - if (op >= 4) { + if (op >= 3) { if (i->src[0]->mod & NV_MOD_NEG) pc->emit[0] |= 1 << 9; if (i->src[0]->mod & NV_MOD_ABS) pc->emit[0] |= 1 << 7; } else {