texture_cache: return back image view usage override
This commit is contained in:
parent
6e7fd21338
commit
ab4cc8b218
|
@ -85,7 +85,7 @@ ImageView::ImageView(const Vulkan::Instance& instance, const ImageViewInfo& info
|
||||||
}
|
}
|
||||||
|
|
||||||
const vk::ImageViewCreateInfo image_view_ci = {
|
const vk::ImageViewCreateInfo image_view_ci = {
|
||||||
.pNext = nullptr,
|
.pNext = usage_override ? &usage_ci : nullptr,
|
||||||
.image = image.image,
|
.image = image.image,
|
||||||
.viewType = info.type,
|
.viewType = info.type,
|
||||||
.format = format,
|
.format = format,
|
||||||
|
|
Loading…
Reference in New Issue