diff options
author | Matt Turner <[email protected]> | 2012-11-20 13:01:04 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-01-10 10:57:51 -0800 |
commit | 0ae81b8422e272e44ef40a09dc443c9014adbd0b (patch) | |
tree | 162706c2f2fa3724dec9c7a197220dcf46157345 /src/mesa | |
parent | 1a3ffbf3789777a174158ba75472b07a6270ba9d (diff) |
mesa: Rename and wire-up GetInteger64i_v
The function was named badly and wasn't in the dispatch table,
making it hard to find.
Fixes transform_feedback2_states and gets a few other transform
feedback tests closer to working in es3conform.
Reviewed-by Anuj Phogat <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/get.c | 4 | ||||
-rw-r--r-- | src/mesa/main/get.h | 2 | ||||
-rw-r--r-- | src/mesa/main/tests/dispatch_sanity.cpp | 3 |
3 files changed, 4 insertions, 5 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index db22569afc7..7d922ca154e 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -1709,11 +1709,11 @@ _mesa_GetIntegeri_v( GLenum pname, GLuint index, GLint *params ) } void GLAPIENTRY -_mesa_GetInteger64Indexedv( GLenum pname, GLuint index, GLint64 *params ) +_mesa_GetInteger64i_v( GLenum pname, GLuint index, GLint64 *params ) { union value v; enum value_type type = - find_value_indexed("glGetIntegerIndexedv", pname, index, &v); + find_value_indexed("glGetInteger64i_v", pname, index, &v); switch (type) { case TYPE_INT: diff --git a/src/mesa/main/get.h b/src/mesa/main/get.h index 4daa1aec117..6b0158f37e4 100644 --- a/src/mesa/main/get.h +++ b/src/mesa/main/get.h @@ -60,7 +60,7 @@ extern void GLAPIENTRY _mesa_GetIntegeri_v( GLenum pname, GLuint index, GLint *params ); extern void GLAPIENTRY -_mesa_GetInteger64Indexedv( GLenum pname, GLuint index, GLint64 *params ); +_mesa_GetInteger64i_v( GLenum pname, GLuint index, GLint64 *params ); extern void GLAPIENTRY _mesa_GetPointerv( GLenum pname, GLvoid **params ); diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp index a28555978e4..3450b86f6e0 100644 --- a/src/mesa/main/tests/dispatch_sanity.cpp +++ b/src/mesa/main/tests/dispatch_sanity.cpp @@ -1310,8 +1310,7 @@ const struct function gles3_functions_possible[] = { // We check for the aliased -OES version in GLES 2 // { "glGetBufferPointerv", 30, -1 }, { "glGetFragDataLocation", 30, -1 }, - /// XXX: Missing implementation of glGetInteger64i_v - // { "glGetInteger64i_v", 30, -1 }, + { "glGetInteger64i_v", 30, -1 }, { "glGetInteger64v", 30, -1 }, { "glGetIntegeri_v", 30, -1 }, // XXX: Missing implementation of ARB_internalformat_query |