diff options
author | Vasily Khoruzhick <[email protected]> | 2019-06-04 08:56:38 -0700 |
---|---|---|
committer | Vasily Khoruzhick <[email protected]> | 2019-06-06 04:30:36 +0000 |
commit | b412e057514ae947b70eee27fb0cfa47892bd8d4 (patch) | |
tree | 025a0bfcf2b141a423a5e1a9d133fb596e487ee2 /src/gallium/drivers/lima/ir/pp | |
parent | 5980565a37909c01281b483c371f5eec03e9689a (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/ir/pp')
-rw-r--r-- | src/gallium/drivers/lima/ir/pp/codegen.c | 6 |
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; } |