projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5980565
)
lima/ppir: add missing handling of min/max ops for vec4 add slot
author
Vasily Khoruzhick
<anarsoul@gmail.com>
Tue, 4 Jun 2019 15:56:38 +0000
(08:56 -0700)
committer
Vasily Khoruzhick
<anarsoul@gmail.com>
Thu, 6 Jun 2019 04:30:36 +0000
(
04:30
+0000)
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
src/gallium/drivers/lima/ir/pp/codegen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/lima/ir/pp/codegen.c
b/src/gallium/drivers/lima/ir/pp/codegen.c
index 73763218d4b204f2ae8a371e149f90864018cf7f..2501ddccc6f1ddd95acc277e24a9a560137cd46a 100644
(file)
--- 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;
}