aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/disassemble.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/panfrost/midgard/disassemble.c')
-rw-r--r--src/panfrost/midgard/disassemble.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/panfrost/midgard/disassemble.c b/src/panfrost/midgard/disassemble.c
index be8c66fe2cc..9174bef33a8 100644
--- a/src/panfrost/midgard/disassemble.c
+++ b/src/panfrost/midgard/disassemble.c
@@ -411,6 +411,11 @@ print_mask_vec16(uint8_t mask, midgard_dest_override override)
static void
print_mask(uint8_t mask, unsigned bits, midgard_dest_override override)
{
+ if (bits == 8) {
+ print_mask_vec16(mask, override);
+ return;
+ }
+
if (bits < 16) {
/* Shouldn't happen but with junk / out-of-spec shaders it
* would cause an infinite loop */
@@ -419,11 +424,6 @@ print_mask(uint8_t mask, unsigned bits, midgard_dest_override override)
return;
}
- if (bits == 8) {
- print_mask_vec16(mask, override);
- return;
- }
-
/* Skip 'complete' masks */
if (bits >= 32 && mask == 0xFF) return;