Module: Mesa Branch: main Commit: 06b04a5c7157cb29e7e7d8274c0e0a41d7420da8 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=06b04a5c7157cb29e7e7d8274c0e0a41d7420da8
Author: Mike Blumenkrantz <[email protected]> Date: Thu Jul 14 21:51:41 2022 -0400 zink: unflag ctx->rp_changed after dynamic render update Reviewed-by: Dave Airlie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17640> --- src/gallium/drivers/zink/zink_context.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/zink/zink_context.c b/src/gallium/drivers/zink/zink_context.c index 1cbc6441247..9aa34fba9ca 100644 --- a/src/gallium/drivers/zink/zink_context.c +++ b/src/gallium/drivers/zink/zink_context.c @@ -2262,6 +2262,7 @@ begin_rendering(struct zink_context *ctx) clear_buffers |= zink_fb_clear_element(fb_clear, j)->zs.bits; } } + ctx->rp_changed = false; } /* validate zs VUs: attachment must be null or format must be valid */ assert(!ctx->dynamic_fb.info.pDepthAttachment || ctx->gfx_pipeline_state.rendering_info.depthAttachmentFormat);
