[Mesa-dev] [PATCH 2/2] softpipe: bump 3D texture limit to 2048

Roland Scheidegger sroland at vmware.com
Thu Apr 28 03:39:38 UTC 2016


Am 27.04.2016 um 00:11 schrieb Dave Airlie:
> From: Dave Airlie <airlied at redhat.com>
> 
> The GL4.1 spec bumps this to 2048, so we should do so.
> 
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>  src/gallium/drivers/softpipe/sp_limits.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/gallium/drivers/softpipe/sp_limits.h b/src/gallium/drivers/softpipe/sp_limits.h
> index 9dd2be1..3fe9b7a 100644
> --- a/src/gallium/drivers/softpipe/sp_limits.h
> +++ b/src/gallium/drivers/softpipe/sp_limits.h
> @@ -31,7 +31,7 @@
>  
>  #define SP_MAX_TEXTURE_SIZE (1 * 1024 * 1024 * 1024ULL)  /* 1GB for now */
>  #define SP_MAX_TEXTURE_2D_LEVELS 15  /* 16K x 16K */
> -#define SP_MAX_TEXTURE_3D_LEVELS 9   /* 256 x 256 x 256 */
> +#define SP_MAX_TEXTURE_3D_LEVELS 12   /* 2048 x 2048 x 2048 */
>  #define SP_MAX_TEXTURE_CUBE_LEVELS 13  /* 4K x 4K */
>  
>  
> 

d3d10 actually requiers 2048 too.

For the series:
Reviewed-by: Roland Scheidegger <sroland at vmware.com>


More information about the mesa-dev mailing list