v3d: Bump the maximum texture size to 4k for V3D 4.x.
[mesa.git] / src / broadcom / common / v3d_limits.h
index 367806dbe48d70036f52ebe061712c49c2ad758c..e21ee246eff0bfd756c6302ca0d51859da3fbc73 100644 (file)
 /* Not specifically a hardware limit, just coordination between compiler and
  * driver.
  */
-#define V3D_MAX_TEXTURE_SAMPLERS 32
+#define V3D_MAX_TEXTURE_SAMPLERS 16
 
-#define V3D_MAX_MIP_LEVELS 12
+/* The HW can do 16384 (15), but we run into hangs when we expose that. */
+#define V3D_MAX_MIP_LEVELS 13
 
 #define V3D_MAX_SAMPLES 4