I think this was used before imageless_framebuffer became a requirement?
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19307>
if (zink_kopper_has_srgb(cdt))
surface->info.format[1] = ivci->format == cdt->formats[0] ? cdt->formats[1] : cdt->formats[0];
}
- surface->info_hash = _mesa_hash_data(&surface->info, sizeof(surface->info));
}
static struct zink_surface *
/* update for imageless fb */
surface->info.flags = res->obj->vkflags;
surface->info.usage = res->obj->vkusage;
- surface->info_hash = _mesa_hash_data(&surface->info, sizeof(surface->info));
simple_mtx_unlock(&res->surface_mtx);
return true;
}
VkImageViewCreateInfo ivci;
VkImageViewUsageCreateInfo usage_info;
struct zink_surface_info info;
- uint32_t info_hash;
bool is_swapchain;
VkImageView image_view;
void *dt;