[Mesa-dev] [PATCH] virgl: bump 3D texture limit to 2048, as GL4.1 requires
Gurchetan Singh
gurchetansingh at chromium.org
Tue Aug 14 03:47:55 UTC 2018
This is virgl analogue to cf6dad.
Fixes:
dEQP-GLES31.functional.image_load_store.3d.atomic.*
Example test cases:
dEQP-GLES31.functional.image_load_store.3d.atomic.add_r32ui_return_value
dEQP-GLES31.functional.image_load_store.3d.atomic.min_r32ui_return_value
dEQP-GLES31.functional.image_load_store.3d.atomic.max_r32ui_return_value
dEQP-GLES31.functional.image_load_store.3d.atomic.and_r32ui_return_value
---
src/gallium/drivers/virgl/virgl_screen.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/virgl/virgl_screen.c b/src/gallium/drivers/virgl/virgl_screen.c
index 421fde5249..745a502189 100644
--- a/src/gallium/drivers/virgl/virgl_screen.c
+++ b/src/gallium/drivers/virgl/virgl_screen.c
@@ -36,7 +36,7 @@
#include "virgl_context.h"
#define SP_MAX_TEXTURE_2D_LEVELS 15 /* 16K x 16K */
-#define SP_MAX_TEXTURE_3D_LEVELS 9 /* 512 x 512 x 512 */
+#define SP_MAX_TEXTURE_3D_LEVELS 12 /* 2048 x 2048 x 2048 */
#define SP_MAX_TEXTURE_CUBE_LEVELS 13 /* 4K x 4K */
static const char *
--
2.16.4
More information about the mesa-dev
mailing list