summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-03-15 17:54:29 +0100
committerMarek Olšák <[email protected]>2015-03-16 12:54:18 +0100
commit4f20a8f278aa92fb0dc6abc6998171b3ddea7dc1 (patch)
tree266ec3ab358ae2286bb239e016b6dc17f30ae0e6 /src/gallium/drivers/radeonsi/si_pipe.h
parentf7796a966d20b04c00025bdc170883f4179a5697 (diff)
radeonsi: split sample locations into its own state atom
Sample locations are not updated as often as framebuffers. Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
index 059fe0dc99b..1496d5fedd7 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.h
+++ b/src/gallium/drivers/radeonsi/si_pipe.h
@@ -151,6 +151,7 @@ struct si_context {
struct r600_atom *streamout_begin;
struct r600_atom *streamout_enable; /* must be after streamout_begin */
struct r600_atom *framebuffer;
+ struct r600_atom *msaa_sample_locs;
struct r600_atom *db_render_state;
struct r600_atom *msaa_config;
struct r600_atom *clip_regs;
@@ -181,6 +182,7 @@ struct si_context {
unsigned border_color_offset;
struct r600_atom clip_regs;
+ struct r600_atom msaa_sample_locs;
struct r600_atom msaa_config;
int ps_iter_samples;