panfrost: Move MAX_{MIP_LEVELS,IMAGE_PLANES} to pan_texture.h

This is where those macros are used, and those are the last two
definitions preventing us from dropping panfrost-job.h.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32899>
This commit is contained in:
Boris Brezillon
2025-01-06 14:51:58 +01:00
committed by Marge Bot
parent e48f2da7da
commit c0f3bac826
2 changed files with 3 additions and 4 deletions

View File

@@ -32,8 +32,4 @@
#include <stdbool.h> #include <stdbool.h>
#include <stdint.h> #include <stdint.h>
#define MAX_MIP_LEVELS (17)
#define MAX_IMAGE_PLANES (3)
#endif /* __PANFROST_JOB_H__ */ #endif /* __PANFROST_JOB_H__ */

View File

@@ -44,6 +44,9 @@
extern "C" { extern "C" {
#endif #endif
#define MAX_MIP_LEVELS 17
#define MAX_IMAGE_PLANES 3
#define PAN_MODIFIER_COUNT 14 #define PAN_MODIFIER_COUNT 14
extern uint64_t pan_best_modifiers[PAN_MODIFIER_COUNT]; extern uint64_t pan_best_modifiers[PAN_MODIFIER_COUNT];