mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
zink: explicitly flush src clears when u_blittering
this otherwise relies on set_framebuffer_state flushing them, which may or may not be accurate/desired Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21739>
This commit is contained in:
parent
1aa62912b7
commit
8e3ee9aad6
1 changed files with 1 additions and 0 deletions
|
|
@ -355,6 +355,7 @@ zink_blit(struct pipe_context *pctx,
|
|||
* flush all pending clears anyway
|
||||
*/
|
||||
apply_dst_clears(ctx, info, true);
|
||||
zink_fb_clears_apply_region(ctx, info->src.resource, zink_rect_from_box(&info->src.box));
|
||||
|
||||
/* this will draw a full-resource quad, so ignore existing data */
|
||||
if (util_blit_covers_whole_resource(info))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue