mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
panfrost/midgard: Fix redunant mask redundancy
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
3dee556c4e
commit
4d8157f12d
1 changed files with 5 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue