summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_context.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-05-29 14:42:13 +0800
committerChia-I Wu <[email protected]>2013-06-07 11:13:14 +0800
commit130364ad1d5010e9320aaa312309f83746d751d3 (patch)
tree323c2d7a15292c0fdb17c500b9616751d35ea306 /src/gallium/drivers/ilo/ilo_context.h
parent3bc8289f49f6f1a7256c7d199d09d3753c10af3a (diff)
ilo: switch to ilo states for CLIP and SF stages
Define and use struct ilo_viewport_state; struct ilo_scissor_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 52225c8eacc..6bd3e48ef90 100644
--- a/src/gallium/drivers/ilo/ilo_context.h
+++ b/src/gallium/drivers/ilo/ilo_context.h
@@ -62,6 +62,10 @@ struct ilo_context {
struct ilo_so_state so;
+ struct pipe_clip_state clip;
+ struct ilo_viewport_state viewport;
+ struct ilo_scissor_state scissor;
+
struct pipe_blend_state *blend;
struct pipe_rasterizer_state *rasterizer;
struct pipe_depth_stencil_alpha_state *depth_stencil_alpha;
@@ -72,11 +76,8 @@ struct ilo_context {
struct pipe_blend_color blend_color;
struct pipe_stencil_ref stencil_ref;
unsigned sample_mask;
- struct pipe_clip_state clip;
struct pipe_framebuffer_state framebuffer;
struct pipe_poly_stipple poly_stipple;
- struct pipe_scissor_state scissor;
- struct pipe_viewport_state viewport;
struct {
struct pipe_sampler_state *samplers[ILO_MAX_SAMPLERS];