summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_state.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2010-01-10 17:22:09 +0000
committerKeith Whitwell <[email protected]>2010-01-10 17:22:09 +0000
commitc1a04416023e24621e4992caf593e8dfe8d7a2fc (patch)
tree954303fe263279379063ff418f87418f62c205ec /src/gallium/drivers/llvmpipe/lp_state.h
parentf4321fbd961a0a891c7f40b16efc61aa791e03a9 (diff)
llvmpipe: initial mrt support
Non-mrt apps work, and the code looks correct, but not many mrt test apps handy atm...
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state.h b/src/gallium/drivers/llvmpipe/lp_state.h
index 25d13536741..cb240cb6e55 100644
--- a/src/gallium/drivers/llvmpipe/lp_state.h
+++ b/src/gallium/drivers/llvmpipe/lp_state.h
@@ -67,10 +67,16 @@ struct lp_fragment_shader;
struct lp_fragment_shader_variant_key
{
enum pipe_format zsbuf_format;
+ unsigned nr_cbufs;
+
struct pipe_depth_state depth;
struct pipe_alpha_state alpha;
struct pipe_blend_state blend;
+ struct {
+ ubyte colormask;
+ } cbuf_blend[PIPE_MAX_COLOR_BUFS];
+
struct lp_sampler_static_state sampler[PIPE_MAX_SAMPLERS];
};