panfrost: Add two helpers to calculate the surface pointer and strides
authorBoris Brezillon <boris.brezillon@collabora.com>
Thu, 19 Nov 2020 09:35:55 +0000 (10:35 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Wed, 25 Nov 2020 15:22:19 +0000 (16:22 +0100)
commit176ce2b9528a6625575e54bedc517a4634c7673d
tree8dd71b97ca4dc1c528d23d352f75c48441458ed7
parent84c4b232ea0d64e63454591922d68bb7d58513e3
panfrost: Add two helpers to calculate the surface pointer and strides

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>
src/panfrost/lib/pan_texture.c