mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 11:08:03 +02:00
mesa: add KHR_no_error support for glStencilFuncSeparate()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
6f10d93ea4
commit
9c49c9d8dd
3 changed files with 14 additions and 1 deletions
|
|
@ -5271,7 +5271,7 @@
|
|||
<glx rop="233" large="true"/>
|
||||
</function>
|
||||
|
||||
<function name="StencilFuncSeparate" es2="2.0">
|
||||
<function name="StencilFuncSeparate" es2="2.0" no_error="true">
|
||||
<param name="face" type="GLenum"/>
|
||||
<param name="func" type="GLenum"/>
|
||||
<param name="ref" type="GLint"/>
|
||||
|
|
|
|||
|
|
@ -475,6 +475,15 @@ stencil_func_separate(struct gl_context *ctx, GLenum face, GLenum func,
|
|||
|
||||
|
||||
/* OpenGL 2.0 */
|
||||
void GLAPIENTRY
|
||||
_mesa_StencilFuncSeparate_no_error(GLenum face, GLenum func, GLint ref,
|
||||
GLuint mask)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
stencil_func_separate(ctx, face, func, ref, mask);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_StencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -61,6 +61,10 @@ extern void GLAPIENTRY
|
|||
_mesa_StencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_StencilFuncSeparate_no_error(GLenum face, GLenum func, GLint ref,
|
||||
GLuint mask);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_StencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue