projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c94742
)
asahi: Always flush when setting framebuffer state
author
Alyssa Rosenzweig
<alyssa@rosenzweig.io>
Sat, 26 Jun 2021 18:05:02 +0000
(14:05 -0400)
committer
Marge Bot
<eric+marge@anholt.net>
Mon, 5 Jul 2021 20:56:04 +0000
(20:56 +0000)
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>
src/gallium/drivers/asahi/agx_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/asahi/agx_state.c
b/src/gallium/drivers/asahi/agx_state.c
index
1efd333
..
7890106
100644
(file)
--- a/
src/gallium/drivers/asahi/agx_state.c
+++ b/
src/gallium/drivers/asahi/agx_state.c
@@
-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;