mesa: add KHR_no_error support to glClearBufferfi()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
1ed61e0239
commit
73c5e750d7
|
@ -135,7 +135,7 @@
|
|||
<param name="value" type="const GLfloat *"/>
|
||||
</function>
|
||||
|
||||
<function name="ClearBufferfi" es2="3.0" marshal="custom">
|
||||
<function name="ClearBufferfi" es2="3.0" marshal="custom" no_error="true">
|
||||
<param name="buffer" type="GLenum"/>
|
||||
<param name="drawbuffer" type="GLint"/>
|
||||
<param name="depth" type="GLfloat"/>
|
||||
|
|
|
@ -683,6 +683,15 @@ clear_bufferfi(struct gl_context *ctx, GLenum buffer, GLint drawbuffer,
|
|||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_ClearBufferfi_no_error(GLenum buffer, GLint drawbuffer,
|
||||
GLfloat depth, GLint stencil)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
clear_bufferfi(ctx, buffer, drawbuffer, depth, stencil, true);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_ClearBufferfi(GLenum buffer, GLint drawbuffer,
|
||||
GLfloat depth, GLint stencil)
|
||||
|
|
|
@ -75,6 +75,10 @@ extern void GLAPIENTRY
|
|||
_mesa_ClearNamedFramebufferfv(GLuint framebuffer, GLenum buffer,
|
||||
GLint drawbuffer, const GLfloat *value);
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_ClearBufferfi_no_error(GLenum buffer, GLint drawbuffer,
|
||||
GLfloat depth, GLint stencil);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_ClearBufferfi(GLenum buffer, GLint drawbuffer,
|
||||
GLfloat depth, GLint stencil);
|
||||
|
|
Loading…
Reference in New Issue