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:

committed by
Marge Bot

parent
e48f2da7da
commit
c0f3bac826
@@ -32,8 +32,4 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#define MAX_MIP_LEVELS (17)
|
||||
|
||||
#define MAX_IMAGE_PLANES (3)
|
||||
|
||||
#endif /* __PANFROST_JOB_H__ */
|
||||
|
@@ -44,6 +44,9 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define MAX_MIP_LEVELS 17
|
||||
#define MAX_IMAGE_PLANES 3
|
||||
|
||||
#define PAN_MODIFIER_COUNT 14
|
||||
extern uint64_t pan_best_modifiers[PAN_MODIFIER_COUNT];
|
||||
|
||||
|
Reference in New Issue
Block a user