From 1f74a5b3ccb416feb753c5e8feb9531228179743 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sat, 17 Nov 2012 20:51:42 -0800 Subject: [PATCH] mesa: Mark GetBufferParameteri64v as implemented. 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 --- src/mapi/glapi/gen/GL3x.xml | 3 +-- src/mesa/main/tests/dispatch_sanity.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/mapi/glapi/gen/GL3x.xml b/src/mapi/glapi/gen/GL3x.xml index 83b5d499a12..1b7adddfa18 100644 --- a/src/mapi/glapi/gen/GL3x.xml +++ b/src/mapi/glapi/gen/GL3x.xml @@ -601,8 +601,7 @@ - + diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp index 56f0dfb921c..a7c6f8fd928 100644 --- a/src/mesa/main/tests/dispatch_sanity.cpp +++ b/src/mesa/main/tests/dispatch_sanity.cpp @@ -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 }, -- 2.30.2