mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
gk110/ir: fix set with a register dest to not auto-set the abs flag
This was causing src0 to always have the absolute value flag set.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit 515ac907e6)
This commit is contained in:
parent
0b06729591
commit
a27d03dd9f
1 changed files with 1 additions and 1 deletions
|
|
@ -903,7 +903,7 @@ CodeEmitterGK110::emitSET(const CmpInstruction *i)
|
|||
code[0] |= 0x1c;
|
||||
} else {
|
||||
switch (i->sType) {
|
||||
case TYPE_F32: op2 = 0x000; op1 = 0x820; break;
|
||||
case TYPE_F32: op2 = 0x000; op1 = 0x800; break;
|
||||
case TYPE_F64: op2 = 0x080; op1 = 0x900; break;
|
||||
default:
|
||||
op2 = 0x1a8;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue