summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-05-06 13:48:11 +0200
committerMarek Olšák <[email protected]>2014-06-02 12:58:22 +0200
commit501fee2511a0a84303319a5e3deacf4959da5b08 (patch)
treead3f625336cfaea6275f8301fe41468e9464a1b1 /src/gallium/drivers/radeonsi/si_pipe.c
parentfe98bfb2615ff6e57cd66f4fc34dc0d45f6dd7e2 (diff)
radeonsi: implement set_min_samples
This is how per-sample shading is enabled.
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
index d3745465a3e..bd878fe0643 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -107,6 +107,9 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, void *
sctx->cache_flush = si_atom_cache_flush;
sctx->atoms.s.cache_flush = &sctx->cache_flush;
+ sctx->msaa_config = si_atom_msaa_config;
+ sctx->atoms.s.msaa_config = &sctx->msaa_config;
+
sctx->atoms.s.streamout_begin = &sctx->b.streamout.begin_atom;
sctx->atoms.s.streamout_enable = &sctx->b.streamout.enable_atom;