/* 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 */
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)
sctx->b.b.emit_string_marker = si_emit_string_marker;
sctx->b.b.set_debug_callback = si_set_debug_callback;
sctx->b.b.set_log_context = si_set_log_context;
- sctx->b.set_atom_dirty = (void *)si_set_atom_dirty;
sctx->screen = sscreen; /* Easy accessing of screen/winsys. */
sctx->is_debug = (flags & PIPE_CONTEXT_DEBUG) != 0;