summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi
diff options
context:
space:
mode:
authorSagar Ghuge <[email protected]>2018-07-27 14:42:36 -0700
committerAnuj Phogat <[email protected]>2018-08-28 12:57:27 -0700
commitf663fb54870de65bc146ed126c26489b395e59a5 (patch)
treeb5ec510ad7efb1e43e926f86cf8e81b90604c785 /src/mapi/glapi
parentc92a463d2341dd7893dd8b54775930ed9be72ac0 (diff)
glapi: define AMD_depth_clamp_separate
Signed-off-by: Sagar Ghuge <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r--src/mapi/glapi/gen/AMD_depth_clamp_separate.xml15
-rw-r--r--src/mapi/glapi/gen/Makefile.am1
-rw-r--r--src/mapi/glapi/gen/gl_API.xml3
-rw-r--r--src/mapi/glapi/gen/meson.build1
4 files changed, 20 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/AMD_depth_clamp_separate.xml b/src/mapi/glapi/gen/AMD_depth_clamp_separate.xml
new file mode 100644
index 00000000000..b7142f1b7b8
--- /dev/null
+++ b/src/mapi/glapi/gen/AMD_depth_clamp_separate.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<OpenGLAPI>
+
+<category name="GL_AMD_depth_clamp_separate" number="401">
+ <enum name="DEPTH_CLAMP_NEAR_AMD" count="1" value="0x901E">
+ <size name="Get" mode="get"/>
+ </enum>
+ <enum name="DEPTH_CLAMP_FAR_AMD" count="1" value="0x901F">
+ <size name="Get" mode="get"/>
+ </enum>
+</category>
+
+</OpenGLAPI>
diff --git a/src/mapi/glapi/gen/Makefile.am b/src/mapi/glapi/gen/Makefile.am
index 93acabd968b..ab369a0d333 100644
--- a/src/mapi/glapi/gen/Makefile.am
+++ b/src/mapi/glapi/gen/Makefile.am
@@ -188,6 +188,7 @@ API_XML = \
ARB_vertex_attrib_64bit.xml \
ARB_vertex_attrib_binding.xml \
ARB_viewport_array.xml \
+ AMD_depth_clamp_separate.xml \
AMD_draw_buffers_blend.xml \
AMD_performance_monitor.xml \
ARB_vertex_type_2_10_10_10_rev.xml \
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index 41454b212df..aae9a5835db 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -12941,6 +12941,9 @@
<xi:include href="EXT_vertex_attrib_64bit.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+<xi:include href="AMD_depth_clamp_separate.xml"
+ xmlns:xi="http://www.w3.org/2001/XInclude"/>
+
<category name="GL_EXT_texture_sRGB_decode" number="402">
<enum name="TEXTURE_SRGB_DECODE_EXT" value="0x8A48"/>
<enum name="DECODE_EXT" value="0x8A49"/>
diff --git a/src/mapi/glapi/gen/meson.build b/src/mapi/glapi/gen/meson.build
index b148627f712..c638b1ece60 100644
--- a/src/mapi/glapi/gen/meson.build
+++ b/src/mapi/glapi/gen/meson.build
@@ -95,6 +95,7 @@ api_xml_files = files(
'ARB_vertex_attrib_64bit.xml',
'ARB_vertex_attrib_binding.xml',
'ARB_viewport_array.xml',
+ 'AMD_depth_clamp_separate.xml',
'AMD_draw_buffers_blend.xml',
'AMD_performance_monitor.xml',
'ARB_vertex_type_2_10_10_10_rev.xml',