panfrost: Add a function to determine if a resource is 2D
authorIcecream95 <ixn@disroot.org>
Mon, 9 Nov 2020 10:13:43 +0000 (23:13 +1300)
committerMarge Bot <eric+marge@anholt.net>
Wed, 20 Jan 2021 23:43:39 +0000 (23:43 +0000)
commita1bf4be84468d98f779f9d324f46fe67d3ba1e30
treede79961db7b8f7d6b0010b5496f0ae86510db134
parent77398a9e4186a02962b95fb352f7e7969cfbbdf1
panfrost: Add a function to determine if a resource is 2D

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7086>
src/gallium/drivers/panfrost/pan_resource.c