summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_state.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-08-29 15:05:53 +0200
committerMarek Olšák <[email protected]>2015-09-01 21:51:14 +0200
commit74aa64876b54bc2d0088bc9ed2d390eaa2b73349 (patch)
tree47671abb4f1be77a76842056ae26a890b6ff0b14 /src/gallium/drivers/radeonsi/si_state.h
parent12b205341acd2d95887099e14a217902fe21a476 (diff)
radeonsi: convert sample mask state into an atom
Reviewed-by: Alex Deucher <[email protected]> Acked-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.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h
index a8a22eb5dfc..77c4dd118dc 100644
--- a/src/gallium/drivers/radeonsi/si_state.h
+++ b/src/gallium/drivers/radeonsi/si_state.h
@@ -43,11 +43,6 @@ struct si_state_blend {
bool dual_src_blend;
};
-struct si_state_sample_mask {
- struct si_pm4_state pm4;
- uint16_t sample_mask;
-};
-
struct si_state_rasterizer {
struct si_pm4_state pm4;
bool flatshade;
@@ -84,7 +79,6 @@ union si_state {
struct {
struct si_state_blend *blend;
struct si_pm4_state *blend_color;
- struct si_state_sample_mask *sample_mask;
struct si_state_rasterizer *rasterizer;
struct si_state_dsa *dsa;
struct si_pm4_state *fb_rs;
@@ -113,6 +107,7 @@ union si_state_atoms {
struct r600_atom *msaa_sample_locs;
struct r600_atom *db_render_state;
struct r600_atom *msaa_config;
+ struct r600_atom *sample_mask;
struct r600_atom *clip_regs;
struct r600_atom *clip_state;
struct r600_atom *shader_userdata;