diff options
author | Keith Whitwell <[email protected]> | 2010-01-11 12:06:51 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2010-01-11 12:12:59 +0000 |
commit | 86f450060debebd66dd5fb72f83800d7634efeaa (patch) | |
tree | 9042a96f8a3257bfa3a624ba157bcf7279ba8028 /src/gallium/drivers/llvmpipe/lp_state.h | |
parent | ad74ea286951634d49d500f2e5ce740072794fe2 (diff) |
llvmpipe: force constant interpolation of flatshade colors
Nice speedup for gears.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state.h b/src/gallium/drivers/llvmpipe/lp_state.h index cb240cb6e55..4c6747bb2b6 100644 --- a/src/gallium/drivers/llvmpipe/lp_state.h +++ b/src/gallium/drivers/llvmpipe/lp_state.h @@ -66,12 +66,12 @@ 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; + enum pipe_format zsbuf_format; + unsigned nr_cbufs:8; + unsigned flatshade:1; struct { ubyte colormask; |