diff --git a/.pick_status.json b/.pick_status.json index 6f3ac010224..dfc8e65c4a2 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -2954,7 +2954,7 @@ "description": "lavapipe: unset attachment remap state if pColorAttachmentLocations==NULL", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/gallium/frontends/lavapipe/lvp_execute.c b/src/gallium/frontends/lavapipe/lvp_execute.c index f344c3b1a41..54b483781a8 100644 --- a/src/gallium/frontends/lavapipe/lvp_execute.c +++ b/src/gallium/frontends/lavapipe/lvp_execute.c @@ -1891,7 +1891,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) {