diff options
author | Samuel Pitoiset <[email protected]> | 2017-06-26 14:13:01 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-06-28 10:25:13 +0200 |
commit | 836b48a8361a5e8409d0313c527ceb6800ebe870 (patch) | |
tree | a0cd81b44f7884f5352fc5b15e480147f74c049b /src/mesa/main/pipelineobj.c | |
parent | 89510d26a998886f1cf3a3af81dd07929da8a9c9 (diff) |
mesa: add KHR_no_error support for gl*ProgramPipelines()
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/pipelineobj.c')
-rw-r--r-- | src/mesa/main/pipelineobj.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mesa/main/pipelineobj.c b/src/mesa/main/pipelineobj.c index 89ab9cfb13c..f40111108c4 100644 --- a/src/mesa/main/pipelineobj.c +++ b/src/mesa/main/pipelineobj.c @@ -647,6 +647,13 @@ create_program_pipelines_err(struct gl_context *ctx, GLsizei n, } void GLAPIENTRY +_mesa_GenProgramPipelines_no_error(GLsizei n, GLuint *pipelines) +{ + GET_CURRENT_CONTEXT(ctx); + create_program_pipelines(ctx, n, pipelines, false); +} + +void GLAPIENTRY _mesa_GenProgramPipelines(GLsizei n, GLuint *pipelines) { GET_CURRENT_CONTEXT(ctx); @@ -658,6 +665,13 @@ _mesa_GenProgramPipelines(GLsizei n, GLuint *pipelines) } void GLAPIENTRY +_mesa_CreateProgramPipelines_no_error(GLsizei n, GLuint *pipelines) +{ + GET_CURRENT_CONTEXT(ctx); + create_program_pipelines(ctx, n, pipelines, true); +} + +void GLAPIENTRY _mesa_CreateProgramPipelines(GLsizei n, GLuint *pipelines) { GET_CURRENT_CONTEXT(ctx); |