[Mesa-dev] [PATCH] glapi: ARB_blend_func_extended support.

Eric Anholt eric at anholt.net
Mon Mar 26 09:31:36 PDT 2012


On Sat, 24 Mar 2012 18:20:13 +0000, Dave Airlie <airlied at gmail.com> wrote:
> 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.

Yeah, other than that,

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120326/b3d70730/attachment-0001.pgp>


More information about the mesa-dev mailing list