[Mesa-dev] [PATCH 1/2] glapi: add GL_ARB_depth_buffer_float
nobled
nobled at dreamwidth.org
Fri Mar 23 15:27:43 PDT 2012
---
These are based on the sorting-the-xml patches I forgot to push a while back:
http://lists.freedesktop.org/archives/mesa-dev/2012-January/017610.html
Which I'll push along with these if they're okay to commit.
src/mapi/glapi/gen/ARB_depth_buffer_float.xml | 15 +++++++++++++++
src/mapi/glapi/gen/Makefile | 1 +
src/mapi/glapi/gen/gl_API.xml | 3 ++-
3 files changed, 18 insertions(+), 1 deletions(-)
create mode 100644 src/mapi/glapi/gen/ARB_depth_buffer_float.xml
diff --git a/src/mapi/glapi/gen/ARB_depth_buffer_float.xml
b/src/mapi/glapi/gen/ARB_depth_buffer_float.xml
new file mode 100644
index 0000000..7d25f6b
--- /dev/null
+++ b/src/mapi/glapi/gen/ARB_depth_buffer_float.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<OpenGLAPI>
+
+<category name="GL_ARB_depth_buffer_float" number="43">
+
+ <enum name="DEPTH_COMPONENT32F" value = "0x8CAC"/>
+ <enum name="DEPTH32F_STENCIL8" value = "0x8CAD"/>
+
+ <enum name="FLOAT_32_UNSIGNED_INT_24_8_REV" value = "0x8DAD"/>
+
+</category>
+
+</OpenGLAPI>
diff --git a/src/mapi/glapi/gen/Makefile b/src/mapi/glapi/gen/Makefile
index fb9dab9..244c67e 100644
--- a/src/mapi/glapi/gen/Makefile
+++ b/src/mapi/glapi/gen/Makefile
@@ -66,6 +66,7 @@ API_XML = \
ARB_color_buffer_float.xml \
ARB_copy_buffer.xml \
ARB_debug_output.xml \
+ ARB_depth_buffer_float.xml \
ARB_depth_clamp.xml \
ARB_draw_buffers_blend.xml \
ARB_draw_elements_base_vertex.xml \
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index e151347..e220e44 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -7898,7 +7898,8 @@
<!-- 40. GL_ARB_half_float_pixel -->
<!-- 41. GL_ARB_texture_float -->
<!-- 42. GL_ARB_pixel_buffer_object -->
-<!-- 43. GL_ARB_depth_buffer_float -->
+
+<xi:include href="ARB_depth_buffer_float.xml"
xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="ARB_draw_instanced.xml"
xmlns:xi="http://www.w3.org/2001/XInclude"/>
--
1.7.4.1
More information about the mesa-dev
mailing list