diff options
author | Christian König <[email protected]> | 2012-07-18 10:46:36 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2012-07-24 12:29:29 +0200 |
commit | b41b3eb9893b9bac8df363fef4d10c68798616e2 (patch) | |
tree | 7337b338638626897f63cc9aba60d07d84b4409f /src/gallium/drivers/radeonsi/si_state.h | |
parent | bd18a316e1495f501911d89c8b373382d1f8c8c2 (diff) |
radeonsi: move dsa state to 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 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index 68b54f8cee2..53a6f2bdc35 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -52,6 +52,15 @@ struct si_state_rasterizer { float offset_scale; }; +struct si_state_dsa { + struct si_pm4_state pm4; + unsigned alpha_ref; + unsigned db_render_override; + unsigned db_render_control; + uint8_t valuemask[2]; + uint8_t writemask[2]; +}; + union si_state { struct { struct si_state_blend *blend; @@ -61,6 +70,7 @@ union si_state { struct si_state_viewport *viewport; struct si_pm4_state *framebuffer; struct si_state_rasterizer *rasterizer; + struct si_state_dsa *dsa; struct si_pm4_state *fb_rs; } named; struct si_pm4_state *array[0]; |