summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/p_defines.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-07-12 12:20:14 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-07-12 12:20:14 -0600
commit86352ff70d8c9a31fe0ebb4d02ce4bb4644fe54a (patch)
tree2dcf373eacfec2e125771e3a5b51116969fefe46 /src/mesa/pipe/p_defines.h
parentbd5533bb7c90d8da06f6a1c38bdc84bb607c5b85 (diff)
Added colormask, dither, multisample state. Implement colormasking stage.
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 fbdd015619..821521ac75 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.