From 153c3c3c608c6c45d8dbc82f729ba19fe9ababec Mon Sep 17 00:00:00 2001
From: cosmonaut <evan@moonside.games>
Date: Mon, 27 Feb 2023 09:54:26 -0800
Subject: [PATCH] add missing texture formats to size function

---
 src/Refresh_Driver_Vulkan.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/Refresh_Driver_Vulkan.c b/src/Refresh_Driver_Vulkan.c
index 96dde3d..9480d29 100644
--- a/src/Refresh_Driver_Vulkan.c
+++ b/src/Refresh_Driver_Vulkan.c
@@ -1917,6 +1917,8 @@ static inline uint32_t VULKAN_INTERNAL_BytesPerPixel(VkFormat format)
 
 		case VK_FORMAT_R8G8B8A8_UNORM:
 		case VK_FORMAT_R8G8B8A8_SNORM:
+		case VK_FORMAT_B8G8R8A8_UNORM:
+		case VK_FORMAT_B8G8R8A8_SNORM:
 		case VK_FORMAT_A2R10G10B10_UNORM_PACK32:
 		case VK_FORMAT_R16G16_UNORM:
 		case VK_FORMAT_R16G16_SFLOAT: