{
struct r600_pipe_context *rctx = (struct r600_pipe_context *)ctx;
- rctx->blit = true;
r600_context_queries_suspend(&rctx->ctx);
util_blitter_save_blend(rctx->blitter, rctx->states[R600_PIPE_STATE_BLEND]);
rctx->saved_render_cond = NULL;
}
r600_context_queries_resume(&rctx->ctx, FALSE);
- rctx->blit = false;
}
static unsigned u_num_layers(struct pipe_resource *r, unsigned level)
struct u_vbuf_mgr *vbuf_mgr;
struct util_slab_mempool pool_transfers;
- boolean blit;
boolean have_depth_texture, have_depth_fb;
unsigned default_ps_gprs, default_vs_gprs;
* Authors: Dave Airlie <airlied@redhat.com>
* Jerome Glisse <jglisse@redhat.com>
*/
+#include "util/u_blitter.h"
#include "util/u_memory.h"
#include "util/u_format.h"
#include "pipebuffer/pb_buffer.h"
static void r600_update_derived_state(struct r600_pipe_context *rctx)
{
- if (!rctx->blit) {
+ if (!rctx->blitter->running) {
if (rctx->have_depth_fb || rctx->have_depth_texture)
r600_flush_depth_textures(rctx);
}