diff options
author | Francisco Jerez <[email protected]> | 2013-09-11 11:31:01 -0700 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2013-10-29 12:40:55 -0700 |
commit | e3fd31dc411c023495970ac51ce28b4d0deb80e6 (patch) | |
tree | c3c048583b6a17fbb761238a9768e68379fb2b60 /src/mesa/main | |
parent | db47074ac02e2b822dd118f4837b32732941b78b (diff) |
glapi: Add support for ARB_shader_atomic_counters.
Add XML file for the dispatch code generator, update the
dispatch_sanity test and add stub definition for the new entry point.
Reviewed-by: Paul Berry <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/tests/dispatch_sanity.cpp | 2 | ||||
-rw-r--r-- | src/mesa/main/uniforms.c | 6 | ||||
-rw-r--r-- | src/mesa/main/uniforms.h | 3 |
3 files changed, 10 insertions, 1 deletions
diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp index d26819c6b84..408dbc0ca74 100644 --- a/src/mesa/main/tests/dispatch_sanity.cpp +++ b/src/mesa/main/tests/dispatch_sanity.cpp @@ -827,7 +827,7 @@ const struct function gl_core_functions_possible[] = { { "glDrawTransformFeedbackInstanced", 43, -1 }, { "glDrawTransformFeedbackStreamInstanced", 43, -1 }, // { "glGetInternalformativ", 43, -1 }, // XXX: Add to xml -// { "glGetActiveAtomicCounterBufferiv", 43, -1 }, // XXX: Add to xml + { "glGetActiveAtomicCounterBufferiv", 43, -1 }, // { "glBindImageTexture", 43, -1 }, // XXX: Add to xml // { "glMemoryBarrier", 43, -1 }, // XXX: Add to xml { "glTexStorage1D", 43, -1 }, diff --git a/src/mesa/main/uniforms.c b/src/mesa/main/uniforms.c index 1e6f7f483c4..07e7ea37998 100644 --- a/src/mesa/main/uniforms.c +++ b/src/mesa/main/uniforms.c @@ -844,3 +844,9 @@ _mesa_get_uniform_name(const struct gl_uniform_storage *uni, *length += i; } } + +void GLAPIENTRY +_mesa_GetActiveAtomicCounterBufferiv(GLuint program, GLuint bufferIndex, + GLenum pname, GLint *params) +{ +} diff --git a/src/mesa/main/uniforms.h b/src/mesa/main/uniforms.h index 92239176e94..f7cac63286b 100644 --- a/src/mesa/main/uniforms.h +++ b/src/mesa/main/uniforms.h @@ -142,6 +142,9 @@ _mesa_UniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); void GLAPIENTRY +_mesa_GetActiveAtomicCounterBufferiv(GLuint program, GLuint bufferIndex, + GLenum pname, GLint *params); +void GLAPIENTRY _mesa_GetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, |