asahi: Determine tiling vs linear for internal textures
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 30 May 2021 21:31:07 +0000 (03:01 +0530)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Jun 2021 01:31:02 +0000 (01:31 +0000)
commitbf3c42fd114df69db52df04724f837c04fdba925
tree45610fba1d53a54c8ffd13cfe04e5f5bcc5cc227
parent5c97d1c83704107e4977fbabbcf63176cd0ec101
asahi: Determine tiling vs linear for internal textures

Logic lifted from Panfrost.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11086>
src/gallium/drivers/asahi/agx_pipe.c