Module: Mesa
Branch: master
Commit: 50fa8218548581e054479e872fc4348a60ab0b86
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=50fa8218548581e054479e872fc4348a60ab0b86

Author: Dylan Noblesmith <[email protected]>
Date:   Tue Jan 17 02:03:21 2012 +0000

glapi: add GL_ARB_depth_buffer_float

Reviewed-by: Kenneth Graunke <[email protected]>

---

 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(-)

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 6726317..77b47b7 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"/>
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to