mesa: Mark GetBufferParameteri64v as implemented.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 18 Nov 2012 04:51:42 +0000 (20:51 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 19 Nov 2012 19:49:04 +0000 (11:49 -0800)
Apparently this was accidentally marked as unimplemented, and thus not
put in the dispatch table.

Fixes 7 es3conform tests:
- copy_buffer_parameters
- copy_buffer_data
- copy_buffer_usage
- pixel_buffer_object_bind
- pixel_buffer_object_parameteriv
- pixel_buffer_object_texture_read
- pixel_buffer_object_usage

v2: Also update the DispatchSanity test for this change.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mapi/glapi/gen/GL3x.xml
src/mesa/main/tests/dispatch_sanity.cpp

index 83b5d499a12bb52b7af8b93a0d284f9d6ba30f1d..1b7adddfa184f10a87f4bd026ddfe59f5a05accd 100644 (file)
     <param name="data" type="GLint64 *"/>
   </function>
 
-  <function name="GetBufferParameteri64v" offset="assign" es2="3.0"
-            exec="skip">
+  <function name="GetBufferParameteri64v" offset="assign" es2="3.0">
     <param name="target" type="GLenum"/>
     <param name="pname" type="GLenum"/>
     <param name="params" type="GLint64 *"/>
index 56f0dfb921c13d86d0d6678777dbb467c650a5a5..a7c6f8fd9282bd09d58b229ee168b251c57b76ed 100644 (file)
@@ -1301,8 +1301,7 @@ const struct function gles3_functions_possible[] = {
    { "glGetActiveUniformBlockiv", 30, -1 },
    { "glGetActiveUniformBlockName", 30, -1 },
    { "glGetActiveUniformsiv", 30, -1 },
-   // We have an implementation (added Jan 1 2010, 1fbc7193) but never tested...
-   // { "glGetBufferParameteri64v", 30, -1 },
+   { "glGetBufferParameteri64v", 30, -1 },
    // We check for the aliased -OES version in GLES 2
    // { "glGetBufferPointerv", 30, -1 },
    { "glGetFragDataLocation", 30, -1 },