lavapipe: remove lvp_subpass::has_color_att

unused

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13349>
This commit is contained in:
Mike Blumenkrantz 2021-10-01 18:00:05 -04:00 committed by Marge Bot
parent f7e9500dc2
commit f25a98318b
2 changed files with 0 additions and 5 deletions

View file

@ -124,8 +124,6 @@ VKAPI_ATTR VkResult VKAPI_CALL lvp_CreateRenderPass2(
for (uint32_t j = 0; j < desc->colorAttachmentCount; j++) {
CHECK_UNUSED_ATTACHMENT(pColorAttachments, color_attachments, j);
if (subpass->color_attachments[j])
subpass->has_color_att = true;
}
}

View file

@ -281,9 +281,6 @@ struct lvp_subpass {
/** Subpass has at least one color resolve attachment */
bool has_color_resolve;
/** Subpass has at least one color attachment */
bool has_color_att;
uint32_t view_mask;
};