From: Alyssa Rosenzweig Date: Mon, 10 Jun 2019 20:19:15 +0000 (-0700) Subject: panfrost/midgard: Fix redunant mask redundancy X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4d8157f12da54e1b9274465f68b0819deeb5e63a;p=mesa.git panfrost/midgard: Fix redunant mask redundancy Signed-off-by: Alyssa Rosenzweig --- diff --git a/src/gallium/drivers/panfrost/midgard/disassemble.c b/src/gallium/drivers/panfrost/midgard/disassemble.c index 7b0972efb8c..c318a13c28c 100644 --- a/src/gallium/drivers/panfrost/midgard/disassemble.c +++ b/src/gallium/drivers/panfrost/midgard/disassemble.c @@ -451,9 +451,14 @@ print_mask(uint8_t mask, unsigned bits, midgard_dest_override override) printf(" /* %X */", mask); } +/* Prints the 4-bit masks found in texture and load/store ops, as opposed to + * the 8-bit masks found in (vector) ALU ops */ + static void print_mask_4(unsigned mask) { + if (mask == 0xF) return; + printf("."); for (unsigned i = 0; i < 4; ++i) {