asahi: Add smalltile debug option
authorAsahi Lina <lina@asahilina.net>
Wed, 5 Jul 2023 11:25:01 +0000 (20:25 +0900)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Jul 2023 15:33:27 +0000 (15:33 +0000)
commite9b2f02c2facc70a3e59b85a176d3fa0f4751a2f
treeebc8af60efcebe5f96f9f62461eeb8f756fe63cc
parent35715db30d7ccceeeaadf7cfbcf506b16a34541c
asahi: Add smalltile debug option

This lets us force small tiles when they otherwise would not be
necessary, which is useful for decoupling tile size and the logic that
depends on it from things like MSAA and MRT which can trigger small
tiles.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24258>
src/asahi/lib/agx_device.h
src/gallium/drivers/asahi/agx_pipe.c
src/gallium/drivers/asahi/agx_state.c