summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2014-05-06 13:48:11 +0200
committerMarek Olšák <marek.olsak@amd.com>2014-06-02 12:58:22 +0200
commit501fee2511a0a84303319a5e3deacf4959da5b08 (patch)
treead3f625336cfaea6275f8301fe41468e9464a1b1 /src/gallium/drivers/radeonsi/si_pipe.h
parentfe98bfb2615ff6e57cd66f4fc34dc0d45f6dd7e2 (diff)
downloadexternal_mesa3d-501fee2511a0a84303319a5e3deacf4959da5b08.zip
external_mesa3d-501fee2511a0a84303319a5e3deacf4959da5b08.tar.gz
external_mesa3d-501fee2511a0a84303319a5e3deacf4959da5b08.tar.bz2
radeonsi: implement set_min_samples
This is how per-sample shading is enabled.
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
index de42477..9d33a92 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.h
+++ b/src/gallium/drivers/radeonsi/si_pipe.h
@@ -114,6 +114,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_config;
} s;
struct r600_atom *array[0];
} atoms;
@@ -136,6 +137,9 @@ struct si_context {
struct r600_resource *border_color_table;
unsigned border_color_offset;
+ struct r600_atom msaa_config;
+ int ps_iter_samples;
+
unsigned default_ps_gprs, default_vs_gprs;
/* Below are variables from the old r600_context.