diff options
| author | skallweitNV <64953474+skallweitNV@users.noreply.github.com> | 2024-04-05 18:39:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-05 09:39:06 -0700 |
| commit | cb87a8f1665198660636188e0861cd41bdaef16c (patch) | |
| tree | cb624bf81cd2ded457218fe1fa5d60837f5c22c9 /tools/gfx/vulkan/vk-helper-functions.cpp | |
| parent | 94ced35a519294bbfb8e1d6c90aa235dd3878d88 (diff) | |
gfx vulkan fixes (#3897)
Diffstat (limited to 'tools/gfx/vulkan/vk-helper-functions.cpp')
| -rw-r--r-- | tools/gfx/vulkan/vk-helper-functions.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gfx/vulkan/vk-helper-functions.cpp b/tools/gfx/vulkan/vk-helper-functions.cpp index fc44256ed..b70ff5e04 100644 --- a/tools/gfx/vulkan/vk-helper-functions.cpp +++ b/tools/gfx/vulkan/vk-helper-functions.cpp @@ -301,6 +301,7 @@ VkImageUsageFlagBits _calcImageUsageFlags(ResourceState state) return VK_IMAGE_USAGE_TRANSFER_DST_BIT; case ResourceState::Present: return VK_IMAGE_USAGE_TRANSFER_SRC_BIT; + case ResourceState::Undefined: case ResourceState::General: return (VkImageUsageFlagBits)0; default: |
