diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h index 3d8c5012e18..7e06879599d 100644 --- a/src/panfrost/include/panfrost-job.h +++ b/src/panfrost/include/panfrost-job.h @@ -32,8 +32,4 @@ #include #include -#define MAX_MIP_LEVELS (17) - -#define MAX_IMAGE_PLANES (3) - #endif /* __PANFROST_JOB_H__ */ diff --git a/src/panfrost/lib/pan_texture.h b/src/panfrost/lib/pan_texture.h index 7138c1784cf..9715fa7197d 100644 --- a/src/panfrost/lib/pan_texture.h +++ b/src/panfrost/lib/pan_texture.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];