[Mesa-dev] [PATCH 3/3] llvmpipe: bump 3d and cube map limits to 2048 and 8192 respectively

Jose Fonseca jfonseca at vmware.com
Fri Jun 7 07:57:20 PDT 2013



----- Original Message -----
> From: Roland Scheidegger <sroland at vmware.com>
> 
> These should just work (?), required by d3d10. Too large resources will
> get thrown out separately anyway.
> ---
>  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 */
>  


Reviewed-by: Jose Fonseca <jfonseca at vmware.com>


More information about the mesa-dev mailing list