glapi: define AMD_depth_clamp_separate
authorSagar Ghuge <sagar.ghuge@intel.com>
Fri, 27 Jul 2018 21:42:36 +0000 (14:42 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Tue, 28 Aug 2018 19:57:27 +0000 (12:57 -0700)
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mapi/glapi/gen/AMD_depth_clamp_separate.xml [new file with mode: 0644]
src/mapi/glapi/gen/Makefile.am
src/mapi/glapi/gen/gl_API.xml
src/mapi/glapi/gen/meson.build

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 (file)
index 0000000..b7142f1
--- /dev/null
@@ -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>
index 93acabd968bf9b926bba4ff567e2b1bdd88d3928..ab369a0d333ce36fdeb6b2cc2ef6e0c5cbfbbf29 100644 (file)
@@ -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 \
index 41454b212df802692d959e08b29ec11317ebecdc..aae9a5835db1dfd4493cf211cc32a27b8ef10ce6 100644 (file)
 
 <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"/>
index b148627f712d21efe2bcb563d6b222e113b1338e..c638b1ece60dd168674fb8380e3406377a52cf8b 100644 (file)
@@ -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',