diff options
author | Marek Olšák <[email protected]> | 2018-08-06 08:13:35 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-08-23 16:56:17 -0400 |
commit | 095515e16ca3cb2c9f1813b6602ee57ae28325a8 (patch) | |
tree | f3fee3164ab98bc7979c81ea2f9c34f6881d8f26 /src/mesa/main/config.h | |
parent | 356ff963ecd998aec9136441e0c4a45dadbde355 (diff) |
mesa: bump GL_MAX_ELEMENTS_INDICES and GL_MAX_ELEMENTS_VERTICES
same number as our closed GL driver
v2: don't use MaxArrayLockSize
Tested-by: Dieter Nützel <[email protected]>
Diffstat (limited to 'src/mesa/main/config.h')
-rw-r--r-- | src/mesa/main/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index 6a2f766222a..6f514650009 100644 --- a/src/mesa/main/config.h +++ b/src/mesa/main/config.h @@ -141,6 +141,9 @@ /** Maximum size for CVA. May be overridden by the drivers. */ #define MAX_ARRAY_LOCK_SIZE 3000 +/** For GL_MAX_ELEMENTS_INDICES and GL_MAX_ELEMENTS_VERTICES. */ +#define MAX_ELEMENTS_VERTICES_INDICES (512 * 1024 * 1024) + /** Subpixel precision for antialiasing, window coordinate snapping */ #define SUB_PIXEL_BITS 4 |