nvc0: rcp f32 also supports neg and abs modifiers

This commit is contained in:
Christoph Bumiller 2010-11-12 23:37:47 +01:00
parent 4c22475383
commit 548967f9fa

View file

@ -420,7 +420,7 @@ emit_flop(struct nv_pc *pc, struct nv_instruction *i, ubyte op)
pc->emit[0] |= op << 26;
if (op > 4) {
if (op >= 4) {
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 {