From a43ac5e7c4d29fc9be86af730306e361683f5e08 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Wed, 19 Jul 2017 10:36:17 +0200 Subject: mesa: add KHR_no_error support to glMemoryBarrierByRegion() Signed-off-by: Samuel Pitoiset Reviewed-by: Timothy Arceri --- src/mesa/main/barrier.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mesa/main/barrier.c') 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 @@ -108,6 +108,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) { -- cgit v1.2.3