[Mesa-dev] [PATCH 06/12] panfrost/midgard: Schedule ball/bany to vectors
Alyssa Rosenzweig
alyssa at rosenzweig.io
Mon Mar 25 02:01:40 UTC 2019
Though they output scalars, they need a vector unit to make sense.
Signed-off-by: Alyssa Rosenzweig <alyssa at rosenzweig.io>
---
src/gallium/drivers/panfrost/midgard/helpers.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/gallium/drivers/panfrost/midgard/helpers.h b/src/gallium/drivers/panfrost/midgard/helpers.h
index 268259ce432..c90d7530ecb 100644
--- a/src/gallium/drivers/panfrost/midgard/helpers.h
+++ b/src/gallium/drivers/panfrost/midgard/helpers.h
@@ -251,8 +251,8 @@ static unsigned alu_opcode_props[256] = {
[midgard_alu_op_ilsr] = UNITS_ADD,
[midgard_alu_op_ilsr] = UNITS_ADD,
- [midgard_alu_op_fball_eq] = UNITS_MOST,
- [midgard_alu_op_fbany_neq] = UNITS_MOST,
- [midgard_alu_op_iball_eq] = UNITS_MOST,
- [midgard_alu_op_ibany_neq] = UNITS_MOST
+ [midgard_alu_op_fball_eq] = UNITS_VECTOR,
+ [midgard_alu_op_fbany_neq] = UNITS_VECTOR,
+ [midgard_alu_op_iball_eq] = UNITS_VECTOR,
+ [midgard_alu_op_ibany_neq] = UNITS_VECTOR
};
--
2.20.1
More information about the mesa-dev
mailing list