mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 18:58:10 +02:00
asahi: Ignore spilled render targets for background load
Nothing to reload. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24258>
This commit is contained in:
parent
ef5a5e170f
commit
0597c100cc
1 changed files with 3 additions and 0 deletions
|
|
@ -2334,6 +2334,9 @@ agx_build_meta(struct agx_batch *batch, bool store, bool partial_render)
|
|||
bool clear = (batch->clear & (PIPE_CLEAR_COLOR0 << rt));
|
||||
bool load = valid && !clear;
|
||||
|
||||
/* Don't read back spilled render targets, they're already in memory */
|
||||
load &= !batch->tilebuffer_layout.spilled[rt];
|
||||
|
||||
/* The background program used for partial renders must always load
|
||||
* whatever was stored in the mid-frame end-of-tile program.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue