glsl/ir_builder: Add rcp builder.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Juan A. Suarez Romero <jasuarez@igalia.com>
This commit is contained in:
@@ -314,6 +314,12 @@ exp(operand a)
|
||||
return expr(ir_unop_exp, a);
|
||||
}
|
||||
|
||||
ir_expression *
|
||||
rcp(operand a)
|
||||
{
|
||||
return expr(ir_unop_rcp, a);
|
||||
}
|
||||
|
||||
ir_expression *
|
||||
rsq(operand a)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user