diff options
author | Marek Olšák <[email protected]> | 2015-08-29 15:05:53 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-09-01 21:51:14 +0200 |
commit | 74aa64876b54bc2d0088bc9ed2d390eaa2b73349 (patch) | |
tree | 47671abb4f1be77a76842056ae26a890b6ff0b14 /src/gallium/drivers/radeonsi/si_pipe.h | |
parent | 12b205341acd2d95887099e14a217902fe21a476 (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_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index 829acf735f6..4d479e0990e 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -136,6 +136,11 @@ struct si_clip_state { struct pipe_clip_state state; }; +struct si_sample_mask { + struct r600_atom atom; + uint16_t sample_mask; +}; + struct si_scissors { struct r600_atom atom; unsigned dirty_mask; @@ -191,6 +196,7 @@ struct si_context { struct si_viewports viewports; struct si_clip_state clip_state; struct r600_atom clip_regs; + struct si_sample_mask sample_mask; struct r600_atom msaa_sample_locs; struct r600_atom msaa_config; int ps_iter_samples; |