Commit 6b00443b authored by ReinUsesLisp's avatar ReinUsesLisp
Browse files

vk_texture_cache: Support image store on sRGB images with VkImageViewUsageCreateInfo

Vulkan 1.0 didn't support creating sRGB image views on an ABGR8 VkImage
with storage usage bits. VK_KHR_maintenance2 addressed this allowing to
reduce the usage bits on a VkImageView.

To allow image store on non-sRGB image views when the VkImage is created
with sRGB, always create VkImages without sRGB and add the sRGB format
on the view.
parent 8be9e5b4
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment