forked from MoonsideGames/Refresh
add missing texture formats to size function
parent
decddae384
commit
153c3c3c60
|
@ -1917,6 +1917,8 @@ static inline uint32_t VULKAN_INTERNAL_BytesPerPixel(VkFormat format)
|
||||||
|
|
||||||
case VK_FORMAT_R8G8B8A8_UNORM:
|
case VK_FORMAT_R8G8B8A8_UNORM:
|
||||||
case VK_FORMAT_R8G8B8A8_SNORM:
|
case VK_FORMAT_R8G8B8A8_SNORM:
|
||||||
|
case VK_FORMAT_B8G8R8A8_UNORM:
|
||||||
|
case VK_FORMAT_B8G8R8A8_SNORM:
|
||||||
case VK_FORMAT_A2R10G10B10_UNORM_PACK32:
|
case VK_FORMAT_A2R10G10B10_UNORM_PACK32:
|
||||||
case VK_FORMAT_R16G16_UNORM:
|
case VK_FORMAT_R16G16_UNORM:
|
||||||
case VK_FORMAT_R16G16_SFLOAT:
|
case VK_FORMAT_R16G16_SFLOAT:
|
||||||
|
|
Loading…
Reference in New Issue