mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
nv50/ir/tgsi: handle precise for most ALU instructions
Signed-off-by: Karol Herbst <karolherbst@gmail.com> Reviewed-by: Pierre Moreau <pierre.morrow@free.fr>
This commit is contained in:
parent
1d7c232fbd
commit
f9bfc93014
1 changed files with 2 additions and 0 deletions
|
|
@ -3189,6 +3189,7 @@ Converter::handleInstruction(const struct tgsi_full_instruction *insn)
|
|||
geni->subOp = tgsi::opcodeToSubOp(tgsi.getOpcode());
|
||||
if (op == OP_MUL && dstTy == TYPE_F32)
|
||||
geni->dnz = info->io.mul_zero_wins;
|
||||
geni->precise = insn->Instruction.Precise;
|
||||
}
|
||||
break;
|
||||
case TGSI_OPCODE_MAD:
|
||||
|
|
@ -3202,6 +3203,7 @@ Converter::handleInstruction(const struct tgsi_full_instruction *insn)
|
|||
geni = mkOp3(op, dstTy, dst0[c], src0, src1, src2);
|
||||
if (dstTy == TYPE_F32)
|
||||
geni->dnz = info->io.mul_zero_wins;
|
||||
geni->precise = insn->Instruction.Precise;
|
||||
}
|
||||
break;
|
||||
case TGSI_OPCODE_MOV:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue