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 | 6b00443bc1c8379794f82f07636bed05499c2779 (patch) | |
tree | 17b6306c2449b0e3d6a106d80a8835d476e4c602 /src/common/x64/native_clock.cpp | |
parent | 8be9e5b48b5d8ef1c52fab16668dd479ac799f00 (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/common/x64/native_clock.cpp')
0 files changed, 0 insertions, 0 deletions