attachment bits must always be removed if they are not supported
fixes (ANV):
KHR-GL46.texture_view.view_classes
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22713>
assert(entry);
_mesa_hash_table_remove(&res->surface_cache, entry);
VkImageView image_view;
+ apply_view_usage_for_format(screen, res, surface, surface->base.format, &ivci);
VkResult result = VKSCR(CreateImageView)(screen->dev, &ivci, NULL, &image_view);
if (result != VK_SUCCESS) {
mesa_loge("ZINK: failed to create new imageview (%s)", vk_Result_to_str(result));