diff options
author | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2011-01-21 16:23:44 +0100 |
---|---|---|
committer | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2011-01-23 13:01:22 +0100 |
commit | 8e572998fc28c1daacca9d9835a71e94a62c6c6c (patch) | |
tree | 5aa141440b2646f869c3c2068f7b74ee33676ec5 | |
parent | 2db46fe5f0145a6afff5b8edc2f00b8c734bb640 (diff) | |
download | external_mesa3d-8e572998fc28c1daacca9d9835a71e94a62c6c6c.zip external_mesa3d-8e572998fc28c1daacca9d9835a71e94a62c6c6c.tar.gz external_mesa3d-8e572998fc28c1daacca9d9835a71e94a62c6c6c.tar.bz2 |
nvc0: accept neg abs modifiers on lg2
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_pc_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_pc_emit.c b/src/gallium/drivers/nvc0/nvc0_pc_emit.c index db8055d..e3097c9 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 { |