texture_cache: return back image view usage override

This commit is contained in:
psucien 2024-06-16 22:30:18 +02:00
parent 6e7fd21338
commit ab4cc8b218
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ ImageView::ImageView(const Vulkan::Instance& instance, const ImageViewInfo& info
}
const vk::ImageViewCreateInfo image_view_ci = {
.pNext = nullptr,
.pNext = usage_override ? &usage_ci : nullptr,
.image = image.image,
.viewType = info.type,
.format = format,