diff options
author | Marek Olšák <[email protected]> | 2014-03-06 00:28:14 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-03-11 18:51:20 +0100 |
commit | 61a2fac1996c92c9bfa486723803f9f346c9c9f6 (patch) | |
tree | 036301cb3c14b10b7024a4dc07bf4e3558a04b83 /src/gallium/drivers/radeonsi/si_state.h | |
parent | 946d1cfe3948ca18225313b69a6d3f30b949a84b (diff) |
radeonsi: convert the framebuffer state to atom-based
This looks like r600g. The shared Cayman MSAA code is used here.
The real motivation for this is that I need the ability to change values
of color registers after the framebuffer state is set. The PM4 state cannot
be modified easily after it's generated. With this, I can just change
r600_surface::cb_color_xxx and set framebuffer.atom.dirty=true and it's done.
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index 0bd4e0551d2..f91d407dae3 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -82,7 +82,6 @@ union si_state { struct si_pm4_state *sample_mask; struct si_pm4_state *scissor; 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; |