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) {