mesa: add EXT_dsa glGetFloati_vEXT/glGetDoublei_vEXT
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Wed, 11 Sep 2019 07:30:14 +0000 (09:30 +0200)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Fri, 18 Oct 2019 08:26:26 +0000 (10:26 +0200)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mapi/glapi/gen/EXT_direct_state_access.xml
src/mesa/main/tests/dispatch_sanity.cpp

index bf900eb930696033a0da08b57edd8d4fd54f2170..cf4ab86cdd1511b2181135a6d237ea58d3fca38c 100644 (file)
       <param name="params" type="GLint *" />
    </function>
 
+   <function name="GetFloati_vEXT" alias="GetFloati_v">
+      <param name="target" type="GLenum" />
+      <param name="index" type="GLuint" />
+      <param name="params" type="GLfloat*" />
+   </function>
+
+   <function name="GetDoublei_vEXT" alias="GetDoublei_v">
+      <param name="target" type="GLenum" />
+      <param name="index" type="GLuint" />
+      <param name="params" type="GLdouble*" />
+   </function>
+
    <!-- ARB_vertex_program -->
    <function name="NamedProgramStringEXT">
       <param name="program" type="GLuint" />
index 6782e7504d689968cde210018fe39b7b410f3931..920fee4d1e75be90db623c168311b612f8011308 100644 (file)
@@ -1153,8 +1153,6 @@ const struct function common_desktop_functions_possible[] = {
    /* GL_EXT_direct_state_access - EXT_gpu_program_parameters */
    { "glNamedProgramLocalParameters4fvEXT", 10, -1 },
    /* GL_EXT_direct_state_access - GL 3.0 */
-   //{ "glGetFloati_vEXT", 30, -1 },
-   //{ "glGetDoublei_vEXT", 30, -1 },
    { "glNamedRenderbufferStorageEXT", 30, -1 },
    { "glGetNamedRenderbufferParameterivEXT", 30, -1 },
    //{ "glNamedRenderbufferStorageMultisampleEXT", 30, -1 },