[Mesa-dev] [PATCH 2/4] mesa/es3.1: Add driver interface for glMemoryBarrierByRegion
Marta Lofstedt
marta.lofstedt at linux.intel.com
Fri Jul 31 05:15:51 PDT 2015
From: Marta Lofstedt <marta.lofstedt at intel.com>
Signed-off-by: Marta Lofstedt <marta.lofstedt at intel.com>
---
src/mesa/main/dd.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 87eb63e..4b41141 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -1017,6 +1017,13 @@ struct dd_function_table {
/*@{*/
void (*DispatchCompute)(struct gl_context *ctx, const GLuint *num_groups);
/*@}*/
+
+ /**
+ * \name MemoryBarrierByRegion
+ */
+ /*@{*/
+ void (*MemoryBarrierByRegion)(struct gl_context *ctx, GLbitfield barriers);
+ /*@}*/
};
--
1.9.1
More information about the mesa-dev
mailing list