diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-15 21:37:17 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-24 18:16:43 -0300 |
| commit | 1d3c309eacaf61b336aae513d28fe768bf983b50 (patch) | |
| tree | 17b6306c2449b0e3d6a106d80a8835d476e4c602 /src/core/cpu_manager.cpp | |
| parent | d9a8238acb74daaa1a835847c204dcdf0023b2c5 (diff) | |
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.
Diffstat (limited to 'src/core/cpu_manager.cpp')
0 files changed, 0 insertions, 0 deletions
