aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/p_defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/p_defines.h')
-rw-r--r--src/mesa/pipe/p_defines.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_defines.h b/src/mesa/pipe/p_defines.h
index fbdd015619d..821521ac752 100644
--- a/src/mesa/pipe/p_defines.h
+++ b/src/mesa/pipe/p_defines.h
@@ -71,6 +71,11 @@
#define PIPE_LOGICOP_OR 14
#define PIPE_LOGICOP_SET 15
+#define PIPE_MASK_R 0x1
+#define PIPE_MASK_G 0x2
+#define PIPE_MASK_B 0x4
+#define PIPE_MASK_A 0x8
+
/**
* Inequality functions. Used for depth test, stencil compare, alpha
* test, shadow compare, etc.