aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2020-07-03 09:47:50 +1000
committerDave Airlie <[email protected]>2020-07-06 13:29:43 +1000
commitdf6682d7823e8334ed90462ed31abfc2107358bd (patch)
tree15f06ecb7eea28eaaf8056ab2fc7b82133792b7c /src
parent0ca266025ab309d538ed8c804cb46d2945c6a547 (diff)
llvmpipe: bump texture/scene limits to enable GL 4.1
Do we need to make this more dynamic? or have some options for vmware embedded? Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5724>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_limits.h6
-rw-r--r--src/gallium/drivers/llvmpipe/lp_scene.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_limits.h b/src/gallium/drivers/llvmpipe/lp_limits.h
index 8ce15c33028..1b8a37e2bb0 100644
--- a/src/gallium/drivers/llvmpipe/lp_limits.h
+++ b/src/gallium/drivers/llvmpipe/lp_limits.h
@@ -48,10 +48,10 @@
* llvm GEP as well as avx2 gather use signed offsets).
*/
#define LP_MAX_TEXTURE_SIZE (2 * 1024 * 1024 * 1024ULL)
-#define LP_MAX_TEXTURE_2D_LEVELS 14 /* 8K x 8K for now */
+#define LP_MAX_TEXTURE_2D_LEVELS 15 /* 16K x 16K 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 */
+#define LP_MAX_TEXTURE_CUBE_LEVELS 15 /* 16K x 16K for now */
+#define LP_MAX_TEXTURE_ARRAY_LAYERS 2048 /* 16K x 2048 / 16K x 16K x 2048 */
/** This must be the larger of LP_MAX_TEXTURE_2D/3D_LEVELS */
diff --git a/src/gallium/drivers/llvmpipe/lp_scene.h b/src/gallium/drivers/llvmpipe/lp_scene.h
index 9f90dbbb02a..679e2c07b28 100644
--- a/src/gallium/drivers/llvmpipe/lp_scene.h
+++ b/src/gallium/drivers/llvmpipe/lp_scene.h
@@ -60,7 +60,7 @@ struct lp_rast_state;
/* Scene temporary storage is clamped to this size:
*/
-#define LP_SCENE_MAX_SIZE (9*1024*1024)
+#define LP_SCENE_MAX_SIZE (36*1024*1024)
/* The maximum amount of texture storage referenced by a scene is
* clamped to this size: