Mesa (master): mesa: Add a BUFFER_BITS mask for depth+stencil
Jason Ekstrand
jekstrand at kemper.freedesktop.org
Thu Jun 15 01:15:12 UTC 2017
Module: Mesa
Branch: master
Commit: 6f6aa0f462680a9796afdecdb37a68be7bacdad6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f6aa0f462680a9796afdecdb37a68be7bacdad6
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Wed Oct 12 14:15:41 2016 -0700
mesa: Add a BUFFER_BITS mask for depth+stencil
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
---
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 7f913608f6..65f638b89e 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -189,6 +189,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
More information about the mesa-commit
mailing list