lavapipe: stop tracking descriptor image layout

this is unused

Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17740>
This commit is contained in:
Mike Blumenkrantz 2022-07-22 13:55:29 -04:00 committed by Marge Bot
parent 636450c274
commit 7dd32b449d
2 changed files with 0 additions and 3 deletions

View file

@ -3327,13 +3327,11 @@ static struct lvp_cmd_push_descriptor_set *create_push_descriptor_set(struct vk_
case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER:
info->sampler = lvp_sampler_from_handle(in_cmd->descriptor_writes[i].pImageInfo[j].sampler);
info->iview = lvp_image_view_from_handle(in_cmd->descriptor_writes[i].pImageInfo[j].imageView);
info->image_layout = in_cmd->descriptor_writes[i].pImageInfo[j].imageLayout;
break;
case VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE:
case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE:
case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT:
info->iview = lvp_image_view_from_handle(in_cmd->descriptor_writes[i].pImageInfo[j].imageView);
info->image_layout = in_cmd->descriptor_writes[i].pImageInfo[j].imageLayout;
break;
case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER:
case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER:

View file

@ -333,7 +333,6 @@ union lvp_descriptor_info {
struct {
struct lvp_sampler *sampler;
struct lvp_image_view *iview;
VkImageLayout image_layout;
};
struct {
struct lvp_buffer *buffer;