win-capture: Support VK_FORMAT_A8B8G8R8_UNORM_PACK32

This commit is contained in:
jpark37
2020-03-07 09:58:07 -08:00
parent 87f5bd6e9f
commit 3439be57fe
2 changed files with 3 additions and 2 deletions

View File

@@ -12,8 +12,8 @@
* THIS IS YOUR ONLY WARNING. */
#define HOOK_VER_MAJOR 1
#define HOOK_VER_MINOR 0
#define HOOK_VER_PATCH 3
#define HOOK_VER_MINOR 1
#define HOOK_VER_PATCH 0
#define STRINGIFY(s) #s
#define MAKE_VERSION_NAME(major, minor, patch) \

View File

@@ -457,6 +457,7 @@ DXGI_FORMAT vk_format_to_dxgi(VkFormat format)
dxgi_format = DXGI_FORMAT_B8G8R8A8_UNORM;
break;
case VK_FORMAT_A8B8G8R8_UNORM_PACK32:
dxgi_format = DXGI_FORMAT_R8G8B8A8_UNORM;
break;
case VK_FORMAT_A8B8G8R8_SNORM_PACK32:
break;