llvmpipe: Move the determination of the number of threads to the screen.
[mesa.git] / src / gallium / drivers / llvmpipe / lp_limits.h
index 75be000f2feabf2898377ead14140b849daf7f25..c7c5a1eca870adb5fcce90d9f04163e798a612de 100644 (file)
@@ -43,7 +43,7 @@
 /**
  * Max texture sizes
  */
-#define LP_MAX_TEXTURE_2D_LEVELS 12  /* 2K x 2K for now */
+#define LP_MAX_TEXTURE_2D_LEVELS 13  /* 4K x 4K for now */
 #define LP_MAX_TEXTURE_3D_LEVELS 10  /* 512 x 512 x 512 for now */
 
 
 /**
  * Max drawing surface size is the max texture size
  */
-#define MAXHEIGHT (1 << (LP_MAX_TEXTURE_LEVELS - 1))
-#define MAXWIDTH  (1 << (LP_MAX_TEXTURE_LEVELS - 1))
+#define LP_MAX_HEIGHT (1 << (LP_MAX_TEXTURE_LEVELS - 1))
+#define LP_MAX_WIDTH  (1 << (LP_MAX_TEXTURE_LEVELS - 1))
+
+
+#define LP_MAX_THREADS 8
 
 
 #endif /* LP_LIMITS_H */