[Mesa-dev] [PATCH 02/11] mesa: Add a BUFFER_BITS mask for depth+stencil
Jason Ekstrand
jason at jlekstrand.net
Wed Jun 7 04:59:57 UTC 2017
---
src/mesa/main/mtypes.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 7ec0123..d77c26a 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -187,6 +187,9 @@ typedef enum
BUFFER_BIT_COLOR6 | \
BUFFER_BIT_COLOR7)
+/* Mask of bits for depth+stencil buffers */
+#define BUFFER_BITS_DEPTH_STENCIL (BUFFER_BIT_DEPTH | BUFFER_BIT_STENCIL)
+
/**
* Framebuffer configuration (aka visual / pixelformat)
* Note: some of these fields should be boolean, but it appears that
--
2.5.0.400.gff86faf
More information about the mesa-dev
mailing list