diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-06-10 13:19:15 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-06-11 08:44:19 -0700 |
commit | 4d8157f12da54e1b9274465f68b0819deeb5e63a (patch) | |
tree | 8e6d264d791772c053eac21198a8b9a3ec10f0b1 /src/gallium/drivers | |
parent | 3dee556c4e40bfa1fd070f025bd20163fd063fc1 (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.c | 5 |
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) { |