add missing texture formats to size function
continuous-integration/drone/push Build is passing Details

pull/39/head
cosmonaut 2023-02-27 09:54:26 -08:00
parent decddae384
commit 153c3c3c60
1 changed files with 2 additions and 0 deletions

View File

@ -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: