mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
pan/gen_macros: Move the TEXTURE definition to gen_macros.h
So we can use the same trick in panvk. 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>
This commit is contained in:
parent
8a058a9190
commit
2092f60ec1
2 changed files with 6 additions and 6 deletions
|
|
@ -2624,12 +2624,6 @@ panfrost_batch_get_bifrost_tiler(struct panfrost_batch *batch, unsigned vertex_c
|
|||
}
|
||||
#endif
|
||||
|
||||
#if PAN_ARCH >= 6
|
||||
#define TILER_JOB BIFROST_TILER_JOB
|
||||
#else
|
||||
#define TILER_JOB MIDGARD_TILER_JOB
|
||||
#endif
|
||||
|
||||
static void
|
||||
panfrost_draw_emit_tiler(struct panfrost_batch *batch,
|
||||
const struct pipe_draw_info *info,
|
||||
|
|
|
|||
|
|
@ -56,6 +56,12 @@
|
|||
# error "The PAN_ARCH macro must be defined"
|
||||
#endif
|
||||
|
||||
#if PAN_ARCH >= 6
|
||||
#define TILER_JOB BIFROST_TILER_JOB
|
||||
#else
|
||||
#define TILER_JOB MIDGARD_TILER_JOB
|
||||
#endif
|
||||
|
||||
/* Suffixing macros */
|
||||
#if (PAN_ARCH == 4)
|
||||
# define GENX(X) X##_v4
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue