mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 07:58:16 +02:00
i965/nir: Use emit_lrp for emitting flrp
Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
a3e05898e9
commit
235c728020
1 changed files with 1 additions and 2 deletions
|
|
@ -1243,8 +1243,7 @@ fs_visitor::nir_emit_alu(nir_alu_instr *instr)
|
|||
break;
|
||||
|
||||
case nir_op_flrp:
|
||||
/* TODO emulate for gen < 6 */
|
||||
inst = emit(LRP(result, op[2], op[1], op[0]));
|
||||
inst = emit_lrp(result, op[0], op[1], op[2]);
|
||||
inst->saturate = instr->dest.saturate;
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue