summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost/midgard/disassemble.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/panfrost/midgard/disassemble.c')
-rw-r--r--src/gallium/drivers/panfrost/midgard/disassemble.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/panfrost/midgard/disassemble.c b/src/gallium/drivers/panfrost/midgard/disassemble.c
index be0d250f7e5..719f5780863 100644
--- a/src/gallium/drivers/panfrost/midgard/disassemble.c
+++ b/src/gallium/drivers/panfrost/midgard/disassemble.c
@@ -44,10 +44,10 @@ print_alu_opcode(midgard_alu_op op)
{
bool int_op = false;
- if (alu_opcode_names[op]) {
- printf("%s", alu_opcode_names[op]);
+ if (alu_opcode_props[op].name) {
+ printf("%s", alu_opcode_props[op].name);
- int_op = alu_opcode_names[op][0] == 'i';
+ int_op = midgard_is_integer_op(op);
} else
printf("alu_op_%02X", op);