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:
committed by
Jason Ekstrand
parent
314474872b
commit
b38fcd0aea
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user