From: Vasily Khoruzhick Date: Tue, 4 Jun 2019 15:56:38 +0000 (-0700) Subject: lima/ppir: add missing handling of min/max ops for vec4 add slot X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b412e057514ae947b70eee27fb0cfa47892bd8d4;p=mesa.git lima/ppir: add missing handling of min/max ops for vec4 add slot Signed-off-by: Vasily Khoruzhick Reviewed-by: Qiang Yu --- diff --git a/src/gallium/drivers/lima/ir/pp/codegen.c b/src/gallium/drivers/lima/ir/pp/codegen.c index 73763218d4b..2501ddccc6f 100644 --- a/src/gallium/drivers/lima/ir/pp/codegen.c +++ b/src/gallium/drivers/lima/ir/pp/codegen.c @@ -328,6 +328,12 @@ static void ppir_codegen_encode_vec_add(ppir_node *node, void *code) case ppir_op_select: f->op = ppir_codegen_vec4_acc_op_sel; break; + case ppir_op_max: + f->op = ppir_codegen_vec4_acc_op_max; + break; + case ppir_op_min: + f->op = ppir_codegen_vec4_acc_op_min; + break; default: break; }