aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2016-05-04 14:32:38 -0400
committerAdam Jackson <[email protected]>2016-05-17 15:04:56 -0400
commit2ad9d6237a510ec2acd0d416c34fe6e231460182 (patch)
treed70f0d014c1e6f780f075be4b8b2419753c53a36 /src/mapi
parentf4983b194d8a13468d2b381c1b572144d15329d2 (diff)
glapi/gen: Copy some GL 1.0 enum details into ARB_viewport_array
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 <[email protected]> Signed-off-by: Adam Jackson <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/ARB_viewport_array.xml16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/mapi/glapi/gen/ARB_viewport_array.xml b/src/mapi/glapi/gen/ARB_viewport_array.xml
index b20cf612cc3..ebd5b99c83e 100644
--- a/src/mapi/glapi/gen/ARB_viewport_array.xml
+++ b/src/mapi/glapi/gen/ARB_viewport_array.xml
@@ -12,10 +12,18 @@
<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"/>