aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/tests/dispatch_sanity.cpp
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <[email protected]>2019-10-26 10:42:07 +0200
committerPierre-Eric Pelloux-Prayer <[email protected]>2019-11-05 13:58:28 +0100
commitfebedee4f6ca9f95228de511e968951b94644d12 (patch)
tree098ea6dd01ffcd780af30a0adf436190714a73f3 /src/mesa/main/tests/dispatch_sanity.cpp
parent2b44ca779b6532302b73398cc01b9daabef215a4 (diff)
mesa: add EXT_dsa glGetVertexArray* 4 functions
The implementation doesn't share much with get.c because: * the refactoring needed for get.c to not depend on ctx->Array.VAO would be quite large * glGetVertexArray* would still need to filter pname to only accept the one specified by the spec * these functions are getter, the implementation is trivial (the complexity is in the correct filtering of pname input) Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/tests/dispatch_sanity.cpp')
-rw-r--r--src/mesa/main/tests/dispatch_sanity.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp
index b7629bb1a96..e6cefabd386 100644
--- a/src/mesa/main/tests/dispatch_sanity.cpp
+++ b/src/mesa/main/tests/dispatch_sanity.cpp
@@ -1184,10 +1184,10 @@ const struct function common_desktop_functions_possible[] = {
{ "glDisableVertexArrayEXT", 30, -1 },
{ "glEnableVertexArrayAttribEXT", 30, -1 },
{ "glDisableVertexArrayAttribEXT", 30, -1 },
- //{ "glGetVertexArrayIntegervEXT", 30, -1 },
- //{ "glGetVertexArrayPointervEXT", 30, -1 },
- //{ "glGetVertexArrayIntegeri_vEXT", 30, -1 },
- //{ "glGetVertexArrayPointeri_vEXT", 30, -1 },
+ { "glGetVertexArrayIntegervEXT", 30, -1 },
+ { "glGetVertexArrayPointervEXT", 30, -1 },
+ { "glGetVertexArrayIntegeri_vEXT", 30, -1 },
+ { "glGetVertexArrayPointeri_vEXT", 30, -1 },
{ "glMapNamedBufferRangeEXT", 30, -1 },
{ "glFlushMappedNamedBufferRangeEXT", 30, -1 },