summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/lima
diff options
context:
space:
mode:
authorVasily Khoruzhick <[email protected]>2019-06-04 08:56:38 -0700
committerVasily Khoruzhick <[email protected]>2019-06-06 04:30:36 +0000
commitb412e057514ae947b70eee27fb0cfa47892bd8d4 (patch)
tree025a0bfcf2b141a423a5e1a9d133fb596e487ee2 /src/gallium/drivers/lima
parent5980565a37909c01281b483c371f5eec03e9689a (diff)
lima/ppir: add missing handling of min/max ops for vec4 add slot
Signed-off-by: Vasily Khoruzhick <[email protected]> Reviewed-by: Qiang Yu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima')
-rw-r--r--src/gallium/drivers/lima/ir/pp/codegen.c6
1 files changed, 6 insertions, 0 deletions
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;
}