mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 16:50:13 +01:00
mesa: add KHR_no_error support for glStencilOpSeparate()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
0614b7a6f7
commit
b9e2d5c18d
3 changed files with 13 additions and 1 deletions
|
|
@ -5279,7 +5279,7 @@
|
|||
<glx ignore="true"/>
|
||||
</function>
|
||||
|
||||
<function name="StencilOpSeparate" es2="2.0">
|
||||
<function name="StencilOpSeparate" es2="2.0" no_error="true">
|
||||
<param name="face" type="GLenum"/>
|
||||
<param name="sfail" type="GLenum"/>
|
||||
<param name="zfail" type="GLenum"/>
|
||||
|
|
|
|||
|
|
@ -429,6 +429,15 @@ stencil_op_separate(struct gl_context *ctx, GLenum face, GLenum sfail,
|
|||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_StencilOpSeparate_no_error(GLenum face, GLenum sfail, GLenum zfail,
|
||||
GLenum zpass)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
stencil_op_separate(ctx, face, sfail, zfail, zpass);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_StencilOpSeparate(GLenum face, GLenum sfail, GLenum zfail, GLenum zpass)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -56,6 +56,9 @@ _mesa_StencilOp( GLenum fail, GLenum zfail, GLenum zpass );
|
|||
extern void GLAPIENTRY
|
||||
_mesa_ActiveStencilFaceEXT(GLenum face);
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_StencilOpSeparate_no_error(GLenum face, GLenum fail, GLenum zfail,
|
||||
GLenum zpass);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_StencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue