From abc6f351b1f5e1dfa84bf6320a842886b02b8131 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 6 May 2026 11:59:23 -0400 Subject: [PATCH] lavapipe: unset attachment remap state if pColorAttachmentLocations==NULL cc: mesa-stable Part-of: --- src/gallium/frontends/lavapipe/lvp_execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/frontends/lavapipe/lvp_execute.c b/src/gallium/frontends/lavapipe/lvp_execute.c index 278b3896b0b..d6d72702e06 100644 --- a/src/gallium/frontends/lavapipe/lvp_execute.c +++ b/src/gallium/frontends/lavapipe/lvp_execute.c @@ -2061,7 +2061,7 @@ static void handle_rendering_attachment_locations(struct vk_cmd_queue_entry *cmd, struct rendering_state *state) { VkRenderingAttachmentLocationInfoKHR *set = cmd->u.set_rendering_attachment_locations.location_info; - state->fb_remapped = true; + state->fb_remapped = !!set->pColorAttachmentLocations; memset(state->fb_map, PIPE_MAX_COLOR_BUFS, sizeof(state->fb_map)); assert(state->color_att_count == set->colorAttachmentCount); if (set->pColorAttachmentLocations) {