mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-04-29 23:50:59 -06:00
Addressing comments in review
This commit is contained in:
parent
90480edc02
commit
c8cc31ebb3
@ -81,13 +81,10 @@ uint32 LatteTextureReadbackInfoVk::GetImageSize(LatteTextureView* textureView)
|
||||
}
|
||||
else if (textureView->format == Latte::E_GX2SURFFMT::R5_G6_B5_UNORM )
|
||||
{
|
||||
cemu_assert(textureFormat == VK_FORMAT_R8G8B8A8_UNORM);
|
||||
return baseTexture->width * baseTexture->height * 2;
|
||||
}
|
||||
else if (textureView->format == Latte::E_GX2SURFFMT::R5_G5_B5_A1_UNORM )
|
||||
{
|
||||
cemu_assert(textureFormat == VK_FORMAT_R8G8B8A8_UNORM);
|
||||
return baseTexture->width * baseTexture->height * 4;
|
||||
if(textureFormat == VK_FORMAT_R5G6B5_UNORM_PACK16){
|
||||
return baseTexture->width * baseTexture->height * 2;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user