pan/mdg: Remove unused disassembler functions

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20420>
This commit is contained in:
Alyssa Rosenzweig
2022-12-22 20:15:47 -05:00
committed by Marge Bot
parent 8e1a466882
commit 8dd35e0ac7
-44
View File
@@ -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)
{