summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/tests/enum_strings.cpp
diff options
context:
space:
mode:
authorTapani Pälli <tapani.palli@intel.com>2014-05-05 07:55:34 +0300
committerTapani Pälli <tapani.palli@intel.com>2014-06-16 06:49:59 +0300
commitbfe42ddd99e8702e2daf14238966069fd25b6d0e (patch)
treeb82d5529f1d94787bdbd0f584fabcc4ac35b8e7d /src/mesa/main/tests/enum_strings.cpp
parentd1a64aad16c27ca40b3568b38156f6cced98f2fb (diff)
downloadexternal_mesa3d-bfe42ddd99e8702e2daf14238966069fd25b6d0e.zip
external_mesa3d-bfe42ddd99e8702e2daf14238966069fd25b6d0e.tar.gz
external_mesa3d-bfe42ddd99e8702e2daf14238966069fd25b6d0e.tar.bz2
mesa: add new enum MAX_UNIFORM_LOCATIONS
Patch adds new implementation dependent value required by the GL_ARB_explicit_uniform_location extension. Default value for user assignable locations is calculated as sum of MaxUniformComponents for each stage. v2: fix descriptor in get_hash_params.py (Petri) v3: simpler formula for calculating initial value (Ian) Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/mesa/main/tests/enum_strings.cpp')
-rw-r--r--src/mesa/main/tests/enum_strings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/tests/enum_strings.cpp b/src/mesa/main/tests/enum_strings.cpp
index 66ff4ec..2913668 100644
--- a/src/mesa/main/tests/enum_strings.cpp
+++ b/src/mesa/main/tests/enum_strings.cpp
@@ -787,6 +787,7 @@ const struct enum_info everything[] = {
{ 0x8256, "GL_RESET_NOTIFICATION_STRATEGY_ARB" },
{ 0x8257, "GL_PROGRAM_BINARY_RETRIEVABLE_HINT" },
{ 0x8261, "GL_NO_RESET_NOTIFICATION_ARB" },
+ { 0x826E, "GL_MAX_UNIFORM_LOCATIONS" },
{ 0x82DF, "GL_TEXTURE_IMMUTABLE_LEVELS" },
{ 0x8362, "GL_UNSIGNED_BYTE_2_3_3_REV" },
{ 0x8363, "GL_UNSIGNED_SHORT_5_6_5" },