summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/radeon
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2018-04-01 13:30:02 -0400
committerMarek Olšák <marek.olsak@amd.com>2018-04-05 15:34:58 -0400
commit0447e8e59e9cbce196138d46dc0be07b7ed392a0 (patch)
tree7a8cad496bfd12c8c05539088cdb52fef27b8958 /src/gallium/drivers/radeon
parent5c125ab1ba030174e59e4e31f27a267571f224e1 (diff)
radeonsi: remove r600_pipe_common::set_atom_dirty
Acked-by: Timothy Arceri <tarceri@itsqueeze.com>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r--src/gallium/drivers/radeon/r600_pipe_common.h3
-rw-r--r--src/gallium/drivers/radeon/r600_query.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h b/src/gallium/drivers/radeon/r600_pipe_common.h
index 96e68c574cb..b67aae6cdfe 100644
--- a/src/gallium/drivers/radeon/r600_pipe_common.h
+++ b/src/gallium/drivers/radeon/r600_pipe_common.h
@@ -516,9 +516,6 @@ struct r600_common_context {
/* This ensures there is enough space in the command stream. */
void (*need_gfx_cs_space)(struct pipe_context *ctx, unsigned num_dw,
bool include_draw_vbo);
-
- void (*set_atom_dirty)(struct r600_common_context *ctx,
- struct r600_atom *atom, bool dirty);
};
/* r600_buffer_common.c */
diff --git a/src/gallium/drivers/radeon/r600_query.c b/src/gallium/drivers/radeon/r600_query.c
index e736875d7cf..0ec53dd9192 100644
--- a/src/gallium/drivers/radeon/r600_query.c
+++ b/src/gallium/drivers/radeon/r600_query.c
@@ -1832,7 +1832,7 @@ static void r600_render_condition(struct pipe_context *ctx,
rctx->render_cond_invert = condition;
rctx->render_cond_mode = mode;
- rctx->set_atom_dirty(rctx, atom, query != NULL);
+ si_set_atom_dirty((struct si_context*)rctx, atom, query != NULL);
}
void si_suspend_queries(struct r600_common_context *ctx)