summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-06-10 13:19:15 -0700
committerAlyssa Rosenzweig <[email protected]>2019-06-11 08:44:19 -0700
commit4d8157f12da54e1b9274465f68b0819deeb5e63a (patch)
tree8e6d264d791772c053eac21198a8b9a3ec10f0b1 /src/gallium/drivers
parent3dee556c4e40bfa1fd070f025bd20163fd063fc1 (diff)
panfrost/midgard: Fix redunant mask redundancy
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/panfrost/midgard/disassemble.c5
1 files changed, 5 insertions, 0 deletions
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) {