Module: Mesa Branch: main Commit: 0cb326cc74464f4e7f57de5c4d740e080f5e5b70 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0cb326cc74464f4e7f57de5c4d740e080f5e5b70
Author: Mike Blumenkrantz <[email protected]> Date: Tue Feb 7 12:48:33 2023 -0500 zink: set gfx feedback loop bit in pipeline state for driver workaround this needs to be set on context create or it may never get set Fixes: 645f2da3faf ("zink: always set VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT sometimes") Reviewed-by: Emma Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21169> --- 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 49e3218de3d..31df10212bb 100644 --- a/src/gallium/drivers/zink/zink_context.c +++ b/src/gallium/drivers/zink/zink_context.c @@ -5067,6 +5067,7 @@ zink_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags) } ctx->gfx_pipeline_state.rendering_info.sType = VK_STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO; ctx->gfx_pipeline_state.rendering_info.pColorAttachmentFormats = ctx->gfx_pipeline_state.rendering_formats; + ctx->gfx_pipeline_state.feedback_loop = screen->driver_workarounds.always_feedback_loop; const uint32_t data[] = {0}; if (!is_copy_only) {
