freedreno/fdl: Handle cpp=32 and cpp=64 when getting macrotile size

These can only happen with multisampled images, which aren't supported
by fdl_tiled_memcpy. However these cases can be hit by multisampled
sparse textures.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32671>
This commit is contained in:
Connor Abbott
2025-08-29 13:58:06 -04:00
committed by Marge Bot
parent 8ef64f2042
commit 7225334589
+8
View File
@@ -294,6 +294,14 @@ get_block_size(unsigned cpp, uint32_t *block_width,
*block_width = 4;
*block_height = 4;
break;
case 32:
*block_width = 4;
*block_height = 2;
break;
case 64:
*block_width = 2;
*block_height = 2;
break;
default:
UNREACHABLE("unknown cpp");
}