llvmpipe: bump 3d and cube map limits to 2048 and 8192 respectively
authorRoland Scheidegger <sroland@vmware.com>
Thu, 6 Jun 2013 00:43:51 +0000 (02:43 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 6 Jun 2013 21:51:38 +0000 (23:51 +0200)
These should just work, required by d3d10. Too large resources will
get thrown out separately anyway.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/llvmpipe/lp_limits.h

index c7905b87e750c7ccf11f9bb8632736cd3b3dda1c..af31b3580e0284eeb8cc737115bf6744dce8f734 100644 (file)
@@ -45,8 +45,8 @@
  */
 #define LP_MAX_TEXTURE_SIZE (1 * 1024 * 1024 * 1024ULL)  /* 1GB for now */
 #define LP_MAX_TEXTURE_2D_LEVELS 14  /* 8K x 8K for now */
-#define LP_MAX_TEXTURE_3D_LEVELS 11  /* 1K x 1K x 1K for now */
-#define LP_MAX_TEXTURE_CUBE_LEVELS 13  /* 4K x 4K for now */
+#define LP_MAX_TEXTURE_3D_LEVELS 12  /* 2K x 2K x 2K for now */
+#define LP_MAX_TEXTURE_CUBE_LEVELS 14  /* 8K x 8K for now */
 #define LP_MAX_TEXTURE_ARRAY_LAYERS 512 /* 8K x 512 / 8K x 8K x 512 */