From 5bb0ad7ccc74e3aa69a1d55d2f7935587288312c Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Fri, 28 Aug 2015 23:52:47 +0200 Subject: radeonsi: call si_init_atom for remaining radeonsi atoms MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I need to initialize more atom IDs. This adds 4 more si_init_atom calls, which simplifies the code. (si_init_atom needs a different context type of the emit functions though) Reviewed-by: Alex Deucher Acked-by: Christian König --- src/gallium/drivers/radeonsi/si_pipe.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/gallium/drivers/radeonsi/si_pipe.c') diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 330b94665b3..03b0ee4a465 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -143,16 +143,6 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, si_init_all_descriptors(sctx); - /* Initialize cache_flush. */ - sctx->cache_flush = si_atom_cache_flush; - sctx->atoms.s.cache_flush = &sctx->cache_flush; - - sctx->msaa_sample_locs = si_atom_msaa_sample_locs; - sctx->atoms.s.msaa_sample_locs = &sctx->msaa_sample_locs; - - 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; -- cgit v1.2.3