mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
freedreno: fix FD_MESA_DEBUG=inorder
Fixes:2c07e03b79("freedreno: allow ctx->batch to be NULL") Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4071> (cherry picked from commitb3efa2a4da)
This commit is contained in:
parent
6b0033dc30
commit
4fa692872b
2 changed files with 2 additions and 2 deletions
|
|
@ -103,7 +103,7 @@
|
|||
"description": "freedreno: fix FD_MESA_DEBUG=inorder",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "2c07e03b792d57ae807a6953f0d8ff5f4bcdffd0"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -252,7 +252,7 @@ fd_set_framebuffer_state(struct pipe_context *pctx,
|
|||
}
|
||||
|
||||
fd_batch_reference(&old_batch, NULL);
|
||||
} else {
|
||||
} else if (ctx->batch) {
|
||||
DBG("%d: cbufs[0]=%p, zsbuf=%p", ctx->batch->needs_flush,
|
||||
framebuffer->cbufs[0], framebuffer->zsbuf);
|
||||
fd_batch_flush(ctx->batch);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue