diff --git a/src/gallium/drivers/panfrost/pan_device.h b/src/gallium/drivers/panfrost/pan_device.h index 4795fdba1b7..2478ead9e06 100644 --- a/src/gallium/drivers/panfrost/pan_device.h +++ b/src/gallium/drivers/panfrost/pan_device.h @@ -63,11 +63,9 @@ extern "C" { /* Driver limits */ #define PAN_MAX_CONST_BUFFERS 16 -/* Mali hardware can texture up to 65536 x 65536 x 65536 and render up to 16384 - * x 16384, but 8192 x 8192 should be enough for anyone. The OpenGL game - * "Cathedral" requires a texture of width 8192 to start. - */ -#define PAN_MAX_MIP_LEVELS 14 +/* TODO: Mali hardware can texture up to 64k textures, but the + * Gallium interface limits us to 32k at the moment */ +#define PAN_MAX_MIP_LEVELS 16 #define PAN_MAX_TEXEL_BUFFER_ELEMENTS 65536