[Mesa-dev] [RFC][PATCH 2/5] glapi: define AMD_depth_clamp_separate

Sagar Ghuge sagar.ghuge at intel.com
Thu Aug 2 03:31:11 UTC 2018


Signed-off-by: Sagar Ghuge <sagar.ghuge at intel.com>
---
 src/mapi/glapi/gen/AMD_depth_clamp_separate.xml | 15 +++++++++++++++
 src/mapi/glapi/gen/Makefile.am                  |  1 +
 src/mapi/glapi/gen/gl_API.xml                   |  3 +++
 src/mapi/glapi/gen/meson.build                  |  1 +
 4 files changed, 20 insertions(+)
 create mode 100644 src/mapi/glapi/gen/AMD_depth_clamp_separate.xml

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 0000000000..b7142f1b7b
--- /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 93acabd968..ab369a0d33 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 49807e1ea5..b85cae2eb4 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -12939,6 +12939,9 @@
 <xi:include href="EXT_separate_shader_objects.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 a6a93cc83b..9c3f243aa9 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',
-- 
2.17.1



More information about the mesa-dev mailing list