summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/config.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-08-24 00:32:09 -0700
committerKenneth Graunke <[email protected]>2018-08-24 00:36:01 -0700
commit93e8e17fa414d95af517581e152f95ec96e0c4d3 (patch)
tree2a535adf09d4bcc5d8ab8336993982a45c1e2ba5 /src/mesa/main/config.h
parent9d670fd86cc13df0ddff5c6fcb0835926e9a8088 (diff)
Revert "mesa: bump GL_MAX_ELEMENTS_INDICES and GL_MAX_ELEMENTS_VERTICES"
This reverts commit 095515e16ca3cb2c9f1813b6602ee57ae28325a8. This breaks KHR-GL46.map_buffer_alignment.functional on i965. This code was apparently not reviewed and I don't know why we would move from a driver configurable constant to a hardcoded value for all drivers. This really looks like an accidental hack push.
Diffstat (limited to 'src/mesa/main/config.h')
-rw-r--r--src/mesa/main/config.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index 6f514650009..6a2f766222a 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -141,9 +141,6 @@
/** 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