On 06/05/2013 05:44 PM, [email protected] wrote:
From: Roland Scheidegger <[email protected]>

These should just work (?), required by d3d10. Too large resources will
get thrown out separately anyway.

Yeah, that was the point of my pipe_screen::can_create_resource() change a while back. While the 3D texture size is now 1K^3, the LP_MAX_TEXTURE_SIZE limit should usually kick in before that.

Reviewed-by: Brian Paul <[email protected]>

---
  src/gallium/drivers/llvmpipe/lp_limits.h |    4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_limits.h 
b/src/gallium/drivers/llvmpipe/lp_limits.h
index c7905b8..af31b35 100644
--- a/src/gallium/drivers/llvmpipe/lp_limits.h
+++ b/src/gallium/drivers/llvmpipe/lp_limits.h
@@ -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 */




_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to