mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
i965/fs_nir: Properly saturate multiplies
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
This commit is contained in:
parent
5690c2b54c
commit
04fb073344
1 changed files with 1 additions and 1 deletions
|
|
@ -572,7 +572,7 @@ fs_visitor::nir_emit_alu(nir_alu_instr *instr)
|
|||
case nir_op_fmul: {
|
||||
fs_inst *inst = MUL(result, op[0], op[1]);
|
||||
inst->saturate = instr->dest.saturate;
|
||||
emit_percomp(MUL(result, op[0], op[1]), instr->dest.write_mask);
|
||||
emit_percomp(inst, instr->dest.write_mask);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue