pan/gen_macros: Map {TEXTURE,SAMPLER} to the arch-specific descriptor
authorBoris Brezillon <boris.brezillon@collabora.com>
Wed, 28 Jul 2021 09:13:39 +0000 (11:13 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Thu, 26 Aug 2021 08:35:17 +0000 (10:35 +0200)
commitf29b45f9343c6a412aa472d248a85c0a95ab445e
tree2141837e251fe70598802abd1467691a354f8607
parent2092f60ec1b61e2827e0a19a43cbf50249d34f82
pan/gen_macros: Map {TEXTURE,SAMPLER} to the arch-specific descriptor

This will ease the transition to per-arch XML files. While at it, patch
pan_cmdstream.c to use this new macro and avoid an #if section.

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/12551>
src/gallium/drivers/panfrost/pan_cmdstream.c
src/panfrost/lib/gen_macros.h