vc4: Drop the flush at the end of the draw
Now we actally get multiple draw calls per submit.
This commit is contained in:
parent
c047f13603
commit
6b2583412f
|
@ -187,8 +187,6 @@ vc4_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info)
|
|||
vc4->resolve |= PIPE_CLEAR_COLOR0;
|
||||
|
||||
vc4->shader_rec_count++;
|
||||
|
||||
vc4_flush(pctx);
|
||||
}
|
||||
|
||||
static uint32_t
|
||||
|
|
|
@ -57,6 +57,8 @@ vc4_resource_transfer_map(struct pipe_context *pctx,
|
|||
enum pipe_format format = prsc->format;
|
||||
char *buf;
|
||||
|
||||
vc4_flush(pctx);
|
||||
|
||||
ptrans = util_slab_alloc(&vc4->transfer_pool);
|
||||
if (!ptrans)
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue