From 8dd35e0ac79c1f29855dddda3853ac4c0ced55ab Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 22 Dec 2022 20:15:47 -0500 Subject: [PATCH] pan/mdg: Remove unused disassembler functions Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/midgard/disassemble.c | 44 -------------------------------------- 1 file changed, 44 deletions(-) diff --git a/src/panfrost/midgard/disassemble.c b/src/panfrost/midgard/disassemble.c index b47902a..490834d 100644 --- a/src/panfrost/midgard/disassemble.c +++ b/src/panfrost/midgard/disassemble.c @@ -1273,38 +1273,6 @@ print_varying_parameters(FILE *fp, midgard_load_store_word *word) } } -static bool -is_op_varying(unsigned op) -{ - switch (op) { - case midgard_op_st_vary_16: - case midgard_op_st_vary_32: - case midgard_op_st_vary_32i: - case midgard_op_st_vary_32u: - case midgard_op_ld_vary_16: - case midgard_op_ld_vary_32: - case midgard_op_ld_vary_32i: - case midgard_op_ld_vary_32u: - return true; - } - - return false; -} - -static bool -is_op_attribute(unsigned op) -{ - switch (op) { - case midgard_op_ld_attr_16: - case midgard_op_ld_attr_32: - case midgard_op_ld_attr_32i: - case midgard_op_ld_attr_32u: - return true; - } - - return false; -} - /* Helper to print integer well-formatted, but only when non-zero. */ static void midgard_print_sint(FILE *fp, int n) @@ -1553,18 +1521,6 @@ print_texture_format(FILE *fp, int format) } } -static bool -midgard_op_has_helpers(unsigned op) -{ - switch (op) { - case midgard_tex_op_normal: - case midgard_tex_op_derivative: - return true; - default: - return false; - } -} - static void print_texture_op(FILE *fp, unsigned op) { -- 2.7.4