diff options
author | Tapani Pälli <[email protected]> | 2014-05-05 07:55:34 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2014-06-16 06:49:59 +0300 |
commit | bfe42ddd99e8702e2daf14238966069fd25b6d0e (patch) | |
tree | b82d5529f1d94787bdbd0f584fabcc4ac35b8e7d /src/mesa/main/tests | |
parent | d1a64aad16c27ca40b3568b38156f6cced98f2fb (diff) |
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 <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/tests')
-rw-r--r-- | src/mesa/main/tests/enum_strings.cpp | 1 |
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 66ff4ec6e7d..2913668aeb0 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" }, |