[Mesa-dev] [PATCH] glapi: ARB_blend_func_extended support.
Dave Airlie
airlied at gmail.com
Sat Mar 24 11:20:13 PDT 2012
On Sat, Mar 24, 2012 at 6:13 PM, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> attempt 2 : drop the regen files
> This adds the xml file covering ARB_blend_func_extended.
>
> A regen is required after commit.
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
> src/mapi/glapi/gen/ARB_blend_func_extended.xml | 32 +
> src/mapi/glapi/gen/gl_API.xml | 1 +
>
> diff --git a/src/mapi/glapi/gen/ARB_blend_func_extended.xml b/src/mapi/glapi/gen/ARB_blend_func_extended.xml
> new file mode 100644
> index 0000000..3e0ac93
> --- /dev/null
> +++ b/src/mapi/glapi/gen/ARB_blend_func_extended.xml
> @@ -0,0 +1,32 @@
> +<?xml version="1.0"?>
> +<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
> +
> +<!-- Note: no GLX protocol info yet. -->
> +
> +
> +<OpenGLAPI>
> +
> +<category name="GL_ARB_blend_func_extended" number="78">
> +
> + <function name="BindFragDataLocationIndexed" offset="assign">
> + <param name="program" type="GLuint"/>
> + <param name="colorNumber" type="GLuint"/>
> + <param name="index" type="GLuint"/>
> + <param name="name" type="const GLchar *"/>
> + </function>
> +
> + <function name="GetFragDataIndex" offset="assign">
> + <param name="program" type="GLuint"/>
> + <param name="name" type="const GLchar *"/>
> + <return type="GLint"/>
> + </function>
> +
> + <enum name="SRC1_COLOR" value="0x88F9"/>
> + <enum name="SRC1_ALPHA" value="0x88F9"/>
Self review - GL_SRC1_ALPHA is already defined to be 0x8589 , I
misread the spec here.
Dave.
> + <enum name="ONE_MINUS_SRC1_COLOR" value="0x88FA"/>
> + <enum name="ONE_MINUS_SRC1_ALPHA" value="0x88FB"/>
> +
> + <enum name="MAX_DUAL_SOURCE_DRAW_BUFFERS" value="0x88FC"/>
> +</category>
> +
> +</OpenGLAPI>
> diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
> index 9f86356..779931d 100644
> --- a/src/mapi/glapi/gen/gl_API.xml
> +++ b/src/mapi/glapi/gen/gl_API.xml
> @@ -12430,4 +12430,5 @@
>
> <xi:include href="ARB_texture_rgb10_a2ui.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
>
> +<xi:include href="ARB_blend_func_extended.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
> </OpenGLAPI>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list