mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
nvc0: accept neg abs modifiers on lg2
This commit is contained in:
parent
2db46fe5f0
commit
8e572998fc
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue