Skip to content

Commit

Permalink
Fix clang compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
Exzap committed Aug 13, 2024
1 parent f52970c commit 0cc8b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2212,7 +2212,7 @@ void VulkanRenderer::GetTextureFormatInfoVK(Latte::E_GX2SURFFMT format, bool isD
formatInfoOut->decoder = TextureDecoder_R32_G32_B32_A32_UINT::getInstance();
break;
case Latte::E_GX2SURFFMT::R16_G16_B16_A16_FLOAT:
case Latte::E_GX2SURFFMT::R16_G16_B16_A16_FLOAT | Latte::E_GX2SURFFMT::FMT_BIT_SRGB: // Seen in Sonic Transformed level Starry Speedway. SRGB should just be ignored for native float formats?
case static_cast<Latte::E_GX2SURFFMT>(Latte::E_GX2SURFFMT::R16_G16_B16_A16_FLOAT | Latte::E_GX2SURFFMT::FMT_BIT_SRGB): // Seen in Sonic Transformed level Starry Speedway. SRGB should just be ignored for native float formats?
formatInfoOut->vkImageFormat = VK_FORMAT_R16G16B16A16_SFLOAT;
formatInfoOut->decoder = TextureDecoder_R16_G16_B16_A16_FLOAT::getInstance();
break;
Expand Down

0 comments on commit 0cc8b4c

Please sign in to comment.