Signed-off-by: Rafal Mielniczuk <[email protected]>
---
src/mesa/main/get.c | 4 ++++
src/mesa/main/get_hash_params.py | 3 +++
2 files changed, 7 insertions(+)
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index b190851..f2e6eba 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -965,6 +965,10 @@ find_custom_value(struct gl_context *ctx, const struct
value_desc *d, union valu
case GL_UNIFORM_BUFFER_BINDING:
v->value_int = ctx->UniformBuffer->Name;
break;
+ /* GL_ARB_query_buffer_object */
+ case GL_QUERY_BUFFER_BINDING:
+ v->value_int = ctx->QueryBuffer->Name;
+ break;
/* GL_ARB_timer_query */
case GL_TIMESTAMP:
if (ctx->Driver.GetTimestamp) {
diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py
index 674d003..52fedc1 100644
--- a/src/mesa/main/get_hash_params.py
+++ b/src/mesa/main/get_hash_params.py
@@ -359,6 +359,9 @@ descriptor=[
[ "UNIFORM_BUFFER_OFFSET_ALIGNMENT",
"CONTEXT_INT(Const.UniformBufferOffsetAlignment),
extra_ARB_uniform_buffer_object" ],
[ "UNIFORM_BUFFER_BINDING", "LOC_CUSTOM, TYPE_INT, 0,
extra_ARB_uniform_buffer_object" ],
+# GL_ARB_query_buffer_object
+ [ "QUERY_BUFFER_BINDING", "LOC_CUSTOM, TYPE_INT, 0, NO_EXTRA" ],
+
# GL_ARB_vertex_shader
[ "MAX_VERTEX_UNIFORM_COMPONENTS_ARB",
"CONTEXT_INT(Const.Program[MESA_SHADER_VERTEX].MaxUniformComponents),
extra_ARB_vertex_shader" ],
[ "MAX_VARYING_FLOATS_ARB", "LOC_CUSTOM, TYPE_INT, 0,
extra_ARB_vertex_shader" ],
--
1.9.0
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev