summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_context.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-05-29 15:02:31 +0800
committerChia-I Wu <[email protected]>2013-06-07 11:13:15 +0800
commit29b938d9f43a4bc355ee05cad2c9796ea7ee93dd (patch)
treeabcc679677f64e5a73fcae857661cc9c574d352e /src/gallium/drivers/ilo/ilo_context.h
parent130364ad1d5010e9320aaa312309f83746d751d3 (diff)
ilo: switch to ilo states for WM stage
Define and use struct ilo_rasterizer_state; in ilo_context.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_context.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_context.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gallium/drivers/ilo/ilo_context.h b/src/gallium/drivers/ilo/ilo_context.h
index 6bd3e48ef90..be7d94df1dc 100644
--- a/src/gallium/drivers/ilo/ilo_context.h
+++ b/src/gallium/drivers/ilo/ilo_context.h
@@ -66,8 +66,11 @@ struct ilo_context {
struct ilo_viewport_state viewport;
struct ilo_scissor_state scissor;
+ const struct ilo_rasterizer_state *rasterizer;
+ struct pipe_poly_stipple poly_stipple;
+ unsigned sample_mask;
+
struct pipe_blend_state *blend;
- struct pipe_rasterizer_state *rasterizer;
struct pipe_depth_stencil_alpha_state *depth_stencil_alpha;
struct ilo_shader_state *fs;
struct ilo_shader_state *vs;
@@ -75,9 +78,7 @@ struct ilo_context {
struct pipe_blend_color blend_color;
struct pipe_stencil_ref stencil_ref;
- unsigned sample_mask;
struct pipe_framebuffer_state framebuffer;
- struct pipe_poly_stipple poly_stipple;
struct {
struct pipe_sampler_state *samplers[ILO_MAX_SAMPLERS];