llvmpipe: bump texture/scene limits to enable GL 4.1
authorDave Airlie <airlied@redhat.com>
Thu, 2 Jul 2020 23:47:50 +0000 (09:47 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 6 Jul 2020 03:29:43 +0000 (13:29 +1000)
Do we need to make this more dynamic? or have some options for vmware
embedded?

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5724>

.gitlab-ci/deqp-virgl-gl-fails.txt
.gitlab-ci/piglit/quick_gl.txt
src/gallium/drivers/llvmpipe/lp_limits.h
src/gallium/drivers/llvmpipe/lp_scene.h

index 5f4fd1ecad7718fcb054067f44ec0cbcc65cdc3a..e0c2e258f4bdeef57a203d745624dfe959b4f014 100644 (file)
@@ -640,6 +640,7 @@ dEQP-GLES31.functional.draw_indirect.compute_interop.separate.drawelements_compu
 dEQP-GLES31.functional.draw_indirect.compute_interop.separate.drawelements_compute_data_and_indices
 dEQP-GLES31.functional.draw_indirect.compute_interop.separate.drawelements_compute_indices
 dEQP-GLES31.functional.draw_indirect.random.20
+dEQP-GLES31.functional.fbo.no_attachments.maximums.all
 dEQP-GLES31.functional.image_load_store.2d_array.atomic.add_r32i_result
 dEQP-GLES31.functional.image_load_store.2d_array.atomic.add_r32i_return_value
 dEQP-GLES31.functional.image_load_store.2d_array.atomic.add_r32ui_result
index 6c9f2d8f56113c6a335a76761d1b159bba0cdceb..9999e272062c0a8e8580087c253f55503607b88d 100644 (file)
@@ -619,8 +619,10 @@ spec/arb_shader_image_load_store/invalid/imageload/address bounds test/image2d/r
 spec/arb_shader_image_load_store/invalid/imageload/address bounds test/image2d/rg8_snorm: fail
 spec/arb_shader_image_load_store/invalid/imageload/address bounds test/image2d/rg8i: fail
 spec/arb_shader_image_load_store/invalid/imageload/address bounds test/image2d/rg8ui: fail
-spec/arb_shader_image_load_store/max-size/imagecube max size test/8192x8192x6x1: skip
-spec/arb_shader_image_load_store/max-size/imagecubearray max size test/8192x8192x6x1: skip
+spec/arb_shader_image_load_store/max-size/image2dmsarray max size test/4x16384x8x8: skip
+spec/arb_shader_image_load_store/max-size/image2dmsarray max size test/4x8x16384x8: skip
+spec/arb_shader_image_load_store/max-size/imagecube max size test/16384x16384x6x1: skip
+spec/arb_shader_image_load_store/max-size/imagecubearray max size test/16384x16384x6x1: skip
 spec/arb_shader_texture_image_samples/builtin-image/r8/compute/image2dms samples test/2x8x96x1: skip
 spec/arb_shader_texture_image_samples/builtin-image/r8/compute/image2dmsarray samples test/2x8x16x6: skip
 spec/arb_shader_texture_image_samples/builtin-image/r8/fragment/image2dms samples test/2x8x96x1: skip
@@ -1689,7 +1691,7 @@ summary:
        pass:    21839
        fail:      215
       crash:        0
-       skip:     1446
+       skip:     1448
     timeout:        0
        warn:        6
  incomplete:        0
index 8ce15c33028c4fab04199b136ef3b02f0662c5de..1b8a37e2bb00b897b87e4b9e2af38112787323dc 100644 (file)
  * 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 */
index 9f90dbbb02a6682e5ce865aaff3481013888a32d..679e2c07b28c1c0382c7c524a94c79a2720cac23 100644 (file)
@@ -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: