diff options
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index 51cb1c0d5b0..c70a2613864 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -35,12 +35,18 @@ struct si_state_blend { uint32_t cb_color_control; }; +struct si_state_viewport { + struct si_pm4_state pm4; + struct pipe_viewport_state viewport; +}; + union si_state { struct { - struct si_state_blend *blend; - struct si_pm4_state *blend_color; - struct si_pm4_state *clip; - struct si_pm4_state *scissor; + struct si_state_blend *blend; + struct si_pm4_state *blend_color; + struct si_pm4_state *clip; + struct si_pm4_state *scissor; + struct si_state_viewport *viewport; } named; struct si_pm4_state *array[0]; }; |