diff options
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/barrier.c | 7 | ||||
-rw-r--r-- | src/mesa/main/barrier.h | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/main/barrier.c b/src/mesa/main/barrier.c index 0798d6efad2..5284f28dc02 100644 --- a/src/mesa/main/barrier.c +++ b/src/mesa/main/barrier.c @@ -109,6 +109,13 @@ memory_barrier_by_region(struct gl_context *ctx, GLbitfield barriers, } void GLAPIENTRY +_mesa_MemoryBarrierByRegion_no_error(GLbitfield barriers) +{ + GET_CURRENT_CONTEXT(ctx); + memory_barrier_by_region(ctx, barriers, true); +} + +void GLAPIENTRY _mesa_MemoryBarrierByRegion(GLbitfield barriers) { GET_CURRENT_CONTEXT(ctx); diff --git a/src/mesa/main/barrier.h b/src/mesa/main/barrier.h index d54c02af65b..53ecf863f07 100644 --- a/src/mesa/main/barrier.h +++ b/src/mesa/main/barrier.h @@ -45,6 +45,9 @@ void GLAPIENTRY _mesa_MemoryBarrier(GLbitfield barriers); void GLAPIENTRY +_mesa_MemoryBarrierByRegion_no_error(GLbitfield barriers); + +void GLAPIENTRY _mesa_MemoryBarrierByRegion(GLbitfield barriers); void GLAPIENTRY |