diff options
author | Christian König <[email protected]> | 2012-07-17 23:43:00 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2012-07-24 12:29:29 +0200 |
commit | f67fae0e43fa0909b57b8a07858d37caecd5cbb1 (patch) | |
tree | 8df28f5e35446724ed5f54301dcddd4ff7cd72d9 /src/gallium/drivers/radeonsi/si_state.h | |
parent | 835098a5290e59bb7b468eb987db67b0e1913c67 (diff) |
radeonsi: move rasterizer state into new handling
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index ad79b9a3aff..ff88d8305ca 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -40,6 +40,18 @@ struct si_state_viewport { struct pipe_viewport_state viewport; }; +struct si_state_rasterizer { + struct si_pm4_state pm4; + bool flatshade; + unsigned sprite_coord_enable; + unsigned pa_sc_line_stipple; + unsigned pa_su_sc_mode_cntl; + unsigned pa_cl_clip_cntl; + unsigned pa_cl_vs_out_cntl; + float offset_units; + float offset_scale; +}; + union si_state { struct { struct si_state_blend *blend; @@ -48,6 +60,7 @@ union si_state { struct si_pm4_state *scissor; struct si_state_viewport *viewport; struct si_pm4_state *framebuffer; + struct si_state_rasterizer *rasterizer; } named; struct si_pm4_state *array[0]; }; |