Browse Source

vc4: Fix another space allocation mistake.

We're over-allocating our BCL in vc4_draw.c, so this never mattered.
However, new RCL-only blit support might end up here without having set up
any BCL contents.
tags/10.6-branchpoint
Eric Anholt 10 years ago
parent
commit
cb88d2cfcb
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/gallium/drivers/vc4/vc4_context.c

+ 1
- 0
src/gallium/drivers/vc4/vc4_context.c View File

@@ -349,6 +349,7 @@ vc4_flush(struct pipe_context *pctx)
* unblocking the render thread. Note that this doesn't act until the
* FLUSH completes.
*/
cl_ensure_space(&vc4->bcl, 8);
cl_u8(&vc4->bcl, VC4_PACKET_INCREMENT_SEMAPHORE);
/* The FLUSH caps all of our bin lists with a VC4_PACKET_RETURN. */
cl_u8(&vc4->bcl, VC4_PACKET_FLUSH);

Loading…
Cancel
Save