summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_compute.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-04-08 21:20:53 -0400
committerMarek Olšák <[email protected]>2018-04-27 17:56:04 -0400
commit3160ee876aa37ddf3f9de42a3db3f986eff57000 (patch)
tree2622f21b7cf6cb037df59e37d56cb2a3391240f4 /src/gallium/drivers/radeonsi/si_compute.c
parentde344209ad6825600a0d5bd7156a95cc8093e4a0 (diff)
radeonsi: remove unused atom parameter from si_atom::emit
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_compute.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_compute.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_compute.c b/src/gallium/drivers/radeonsi/si_compute.c
index e7867e7fe4f..f77367aef7f 100644
--- a/src/gallium/drivers/radeonsi/si_compute.c
+++ b/src/gallium/drivers/radeonsi/si_compute.c
@@ -864,8 +864,7 @@ static void si_launch_grid(
si_emit_compute_shader_pointers(sctx);
if (si_is_atom_dirty(sctx, &sctx->atoms.s.render_cond)) {
- sctx->atoms.s.render_cond.emit(sctx,
- &sctx->atoms.s.render_cond);
+ sctx->atoms.s.render_cond.emit(sctx);
si_set_atom_dirty(sctx, &sctx->atoms.s.render_cond, false);
}