mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
asahi: Always flush when setting framebuffer state
We don't have batch tracking yet. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11718>
This commit is contained in:
parent
8c94742935
commit
503742aa32
1 changed files with 3 additions and 0 deletions
|
|
@ -623,6 +623,9 @@ agx_set_framebuffer_state(struct pipe_context *pctx,
|
|||
if (!state)
|
||||
return;
|
||||
|
||||
/* XXX: eliminate this flush with batch tracking logic */
|
||||
pctx->flush(pctx, NULL, 0);
|
||||
|
||||
ctx->batch->width = state->width;
|
||||
ctx->batch->height = state->height;
|
||||
ctx->batch->nr_cbufs = state->nr_cbufs;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue