[Mesa-dev] [PATCH 02/14] mesa: bump GL_MAX_ELEMENTS_INDICES and GL_MAX_ELEMENTS_VERTICES
Marek Olšák
maraeo at gmail.com
Wed Aug 8 23:55:11 UTC 2018
From: Marek Olšák <marek.olsak at amd.com>
same number as our closed GL driver
---
src/mesa/main/config.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index 6a2f766222a..fdf90d8956f 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -131,22 +131,22 @@
* used almost everywhere else.
*/
#define MAX_TEXTURE_UNITS ((MAX_TEXTURE_COORD_UNITS > MAX_TEXTURE_IMAGE_UNITS) ? MAX_TEXTURE_COORD_UNITS : MAX_TEXTURE_IMAGE_UNITS)
/** Maximum number of viewports supported with ARB_viewport_array */
#define MAX_VIEWPORTS 16
/** Maximum number of window rectangles supported with EXT_window_rectangles */
#define MAX_WINDOW_RECTANGLES 8
-/** Maximum size for CVA. May be overridden by the drivers. */
-#define MAX_ARRAY_LOCK_SIZE 3000
+/** Default for GL_MAX_ELEMENTS_INDICES and GL_MAX_ELEMENTS_VERTICES. */
+#define MAX_ARRAY_LOCK_SIZE (512 * 1024 * 1024)
/** Subpixel precision for antialiasing, window coordinate snapping */
#define SUB_PIXEL_BITS 4
/** For GL_ARB_texture_compression */
#define MAX_COMPRESSED_TEXTURE_FORMATS 25
/** For GL_EXT_texture_filter_anisotropic */
#define MAX_TEXTURE_MAX_ANISOTROPY 16.0
--
2.17.1
More information about the mesa-dev
mailing list