Wu, Nian wrote: > > Hi, > > If use indirect rendering, glx does not return the correct > STENCIL_BACK_* parameters. Below is the patch, if it is OK, please > commit in: > > diff --git a/src/mesa/glapi/gl_API.xml b/src/mesa/glapi/gl_API.xml > index ef4a309..7eff99a 100644 > --- a/src/mesa/glapi/gl_API.xml > +++ b/src/mesa/glapi/gl_API.xml > @@ -5114,9 +5114,15 @@ > </enum> > <enum name="LOWER_LEFT" value="0x8CA1"/> > <enum name="UPPER_LEFT" value="0x8CA2"/> > - <enum name="STENCIL_BACK_REF" value="0x8CA3"/> > - <enum name="STENCIL_BACK_VALUE_MASK" value="0x8CA4"/> > - <enum name="STENCIL_BACK_WRITEMASK" value="0x8CA5"/> > + <enum name="STENCIL_BACK_REF" count="1" > value="0x8CA3"> > + <size name="Get" mode="get"/> > + </enum> > + <enum name="STENCIL_BACK_VALUE_MASK" count="1" > value="0x8CA4"> > + <size name="Get" mode="get"/> > + </enum> > + <enum name="STENCIL_BACK_WRITEMASK" count="1" > value="0x8CA5"> > + <size name="Get" mode="get"/> > + </enum> > > <function name="BlendEquationSeparate" > alias="BlendEquationSeparateEXT"> > <param name="modeRGB" type="GLenum"/> >
Shouldn't STENCIL_BACK_FUNC, STENCIL_BACK_FAIL, STENCIL_BACK_PASS_DEPTH_FAIL and STENCIL_BACK_PASS_DEPTH_PASS get the same treatment? This just works currently because it's the same opcodes as the ATI versions. That said, I'm not sure this is even supposed to work with indirect rendering? Roland ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
