panfrost/midgard: Schedule ball/bany to vectors
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 24 Mar 2019 22:41:15 +0000 (22:41 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 26 Mar 2019 23:35:17 +0000 (23:35 +0000)
Though they output scalars, they need a vector unit to make sense.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/midgard/helpers.h

index 268259ce432c46f2e5ae8fcb4a94aed5686fa0c3..c90d7530ecbf7f85253341e419facb77cdbee1ff 100644 (file)
@@ -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
 };