glapi/gen: Copy some GL 1.0 enum details into ARB_viewport_array
authorAdam Jackson <ajax@redhat.com>
Wed, 4 May 2016 18:32:38 +0000 (14:32 -0400)
committerAdam Jackson <ajax@redhat.com>
Tue, 17 May 2016 19:04:56 +0000 (15:04 -0400)
Otherwise the instances in the extension XML override the core
definitions, and we stop knowing their sizes in indirect_size_get.c

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
src/mapi/glapi/gen/ARB_viewport_array.xml

index b20cf612cc3cc3624c07d5dfce0a6ee5033e232d..ebd5b99c83eedcf055641d0187c3ff3f2a92ac50 100644 (file)
     <enum name="VIEWPORT_BOUNDS_RANGE" value="0x825D"/>
     <enum name="LAYER_PROVOKING_VERTEX" value="0x825E"/>
     <enum name="VIEWPORT_INDEX_PROVOKING_VERTEX" value="0x825F"/>
-    <enum name="SCISSOR_BOX" value="0x0C10"/>
-    <enum name="VIEWPORT" value="0x0BA2"/>
-    <enum name="DEPTH_RANGE" value="0x0B70"/>
-    <enum name="SCISSOR_TEST" value="0x0C11"/>
+    <enum name="SCISSOR_BOX" count="4" value="0x0C10">
+        <size name="Get" mode="get"/>
+    </enum>
+    <enum name="VIEWPORT" count="4" value="0x0BA2">
+        <size name="Get" mode="get"/>
+    </enum>
+    <enum name="DEPTH_RANGE" count="2" value="0x0B70">
+        <size name="Get" mode="get"/>
+    </enum>
+    <enum name="SCISSOR_TEST" count="1" value="0x0C11">
+        <size name="Get" mode="get"/>
+    </enum>
     <enum name="FIRST_VERTEX_CONVENTION" value="0x8E4D"/>
     <enum name="LAST_VERTEX_CONVENTION" value="0x8E4E"/>
     <enum name="PROVOKING_VERTEX" value="0x8E4F"/>