mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
mesa: add KHR_no_error support to glTransformFeedbackVaryings()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
a5319d9fde
commit
83690d4590
3 changed files with 17 additions and 1 deletions
|
|
@ -227,7 +227,7 @@
|
|||
<param name="buffer" type="GLuint"/>
|
||||
</function>
|
||||
|
||||
<function name="TransformFeedbackVaryings" es2="3.0">
|
||||
<function name="TransformFeedbackVaryings" es2="3.0" no_error="true">
|
||||
<param name="program" type="GLuint"/>
|
||||
<param name="count" type="GLsizei"/>
|
||||
<param name="varyings" type="const GLchar * const *"/>
|
||||
|
|
|
|||
|
|
@ -868,6 +868,17 @@ transform_feedback_varyings(struct gl_context *ctx,
|
|||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_TransformFeedbackVaryings_no_error(GLuint program, GLsizei count,
|
||||
const GLchar *const *varyings,
|
||||
GLenum bufferMode)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
struct gl_shader_program *shProg = _mesa_lookup_shader_program(ctx, program);
|
||||
transform_feedback_varyings(ctx, shProg, count, varyings, bufferMode);
|
||||
}
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_TransformFeedbackVaryings(GLuint program, GLsizei count,
|
||||
const GLchar * const *varyings,
|
||||
|
|
|
|||
|
|
@ -82,6 +82,11 @@ extern void GLAPIENTRY
|
|||
_mesa_BindBufferOffsetEXT(GLenum target, GLuint index, GLuint buffer,
|
||||
GLintptr offset);
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_TransformFeedbackVaryings_no_error(GLuint program, GLsizei count,
|
||||
const GLchar *const *varyings,
|
||||
GLenum bufferMode);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_TransformFeedbackVaryings(GLuint program, GLsizei count,
|
||||
const GLchar * const *varyings,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue