Skip to content

Commit

Permalink
Added missing Format_RG_UI32
Browse files Browse the repository at this point in the history
  • Loading branch information
corporateshark committed Dec 11, 2024
1 parent 45d68eb commit 89b13aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lvk/vulkan/VulkanUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ VkFormat lvk::formatToVkFormat(lvk::Format format) {
return VK_FORMAT_R32_UINT;
case lvk::Format_RG_UN8:
return VK_FORMAT_R8G8_UNORM;
case lvk::Format_RG_UI16:
return VK_FORMAT_R16G16_UINT;
case lvk::Format_RG_UI32:
return VK_FORMAT_R32G32_UINT;
case lvk::Format_RG_UN16:
return VK_FORMAT_R16G16_UNORM;
case lvk::Format_BGRA_UN8:
Expand All @@ -154,8 +158,6 @@ VkFormat lvk::formatToVkFormat(lvk::Format format) {
return VK_FORMAT_R16G16_SFLOAT;
case lvk::Format_RG_F32:
return VK_FORMAT_R32G32_SFLOAT;
case lvk::Format_RG_UI16:
return VK_FORMAT_R16G16_UINT;
case lvk::Format_R_F32:
return VK_FORMAT_R32_SFLOAT;
case lvk::Format_RGBA_F16:
Expand Down

0 comments on commit 89b13aa

Please sign in to comment.