summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get_hash_params.py
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2017-12-12 14:46:13 +0200
committerTapani Pälli <[email protected]>2017-12-15 08:42:48 +0200
commit33f73345da01a70aa0e5d61069508e169cb6a6ed (patch)
treeeda993eebaeee58b75d6742a8c6b61945efc4351 /src/mesa/main/get_hash_params.py
parent0a202dd5e82b6796e919b5f970f8f79622967174 (diff)
mesa: GL_EXT_disjoint_timer_query extension API bits
Patch adds GL_GPU_DISJOINT_EXT and enables to use timer queries when EXT_disjoint_timer_query is enabled. v2: enable extension only when EXT_disjoint_timer_query set Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> (v1) Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/get_hash_params.py')
-rw-r--r--src/mesa/main/get_hash_params.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py
index eac250a1ecf..bc71574cca9 100644
--- a/src/mesa/main/get_hash_params.py
+++ b/src/mesa/main/get_hash_params.py
@@ -254,6 +254,11 @@ descriptor=[
[ "POINT_SIZE_ARRAY_BUFFER_BINDING_OES", "LOC_CUSTOM, TYPE_INT, 0, NO_EXTRA" ],
]},
+# Enums in GLES2, GLES3
+{ "apis": ["GLES2", "GLES3"], "params": [
+ [ "GPU_DISJOINT_EXT", "LOC_CUSTOM, TYPE_INT, 0, extra_EXT_disjoint_timer_query" ],
+]},
+
{ "apis": ["GL", "GL_CORE", "GLES2"], "params": [
# == GL_MAX_TEXTURE_COORDS_NV
[ "MAX_TEXTURE_COORDS_ARB", "CONTEXT_INT(Const.MaxTextureCoordUnits), extra_ARB_fragment_program" ],