X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Fllvmpipe%2Flp_limits.h;h=c2808162c78a8019a87dae4d4937c2a65f610575;hb=886626960bca51bdfc0880e3830c0a95ea143c4c;hp=c7905b87e750c7ccf11f9bb8632736cd3b3dda1c;hpb=38a751cbe85b7e31925931dc4994e7def5e5af96;p=mesa.git diff --git a/src/gallium/drivers/llvmpipe/lp_limits.h b/src/gallium/drivers/llvmpipe/lp_limits.h index c7905b87e75..c2808162c78 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 */ @@ -77,9 +77,9 @@ /** * Max number of instructions (for all fragment shaders combined per context) - * that will be kept around. + * that will be kept around (counted in terms of llvm ir). */ -#define LP_MAX_SHADER_INSTRUCTIONS (128*1024) +#define LP_MAX_SHADER_INSTRUCTIONS (2048 * LP_MAX_SHADER_VARIANTS) /** * Max number of setup variants that will be kept around.