mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 18:40:13 +01:00
i965/nir/vec4: Implement linear interpolation
Adds NIR ALU operation: * nir_op_flrp Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
This commit is contained in:
parent
314474872b
commit
b38fcd0aea
1 changed files with 5 additions and 0 deletions
|
|
@ -1202,6 +1202,11 @@ vec4_visitor::nir_emit_alu(nir_alu_instr *instr)
|
|||
inst->saturate = instr->dest.saturate;
|
||||
break;
|
||||
|
||||
case nir_op_flrp:
|
||||
inst = emit_lrp(dst, op[0], op[1], op[2]);
|
||||
inst->saturate = instr->dest.saturate;
|
||||
break;
|
||||
|
||||
default:
|
||||
unreachable("Unimplemented ALU operation");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue