summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-06-18 17:54:38 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-06-18 17:54:38 -0600
commit493f7b5f3ae2eb64eaa65e24e79a7a071c359b81 (patch)
treec38bbfa9ec2071b94eae5523bb433aae9c9b14ed /src/mesa/pipe/softpipe
parentefe6c50089e945902917c8091c92ce3a6155caac (diff)
Added alpha test state.
Diffstat (limited to 'src/mesa/pipe/softpipe')
-rw-r--r--src/mesa/pipe/softpipe/sp_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_context.h b/src/mesa/pipe/softpipe/sp_context.h
index f2ebc4272a..efe453ea2c 100644
--- a/src/mesa/pipe/softpipe/sp_context.h
+++ b/src/mesa/pipe/softpipe/sp_context.h
@@ -59,6 +59,7 @@ enum interp_mode {
#define G_NEW_SCISSOR 0x40
#define G_NEW_STIPPLE 0x80
#define G_NEW_FRAMEBUFFER 0x100
+#define G_NEW_ALPHA_TEST 0x200
struct softpipe_context {
@@ -72,6 +73,7 @@ struct softpipe_context {
struct pipe_setup_state setup;
struct pipe_fs_state fs;
struct pipe_blend_state blend;
+ struct pipe_alpha_test_state alpha_test;
struct pipe_surface cbuf;
struct pipe_clip_state clip;
struct pipe_scissor_rect scissor;