mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 06:51:18 +12:00
include texture decoder in pixel format info
This commit is contained in:
parent
3de2b0325b
commit
ed5f72a1ca
3 changed files with 65 additions and 134 deletions
|
@ -497,7 +497,7 @@ void MetalRenderer::texture_releaseTextureUploadBuffer(uint8* mem)
|
|||
|
||||
TextureDecoder* MetalRenderer::texture_chooseDecodedFormat(Latte::E_GX2SURFFMT format, bool isDepth, Latte::E_DIM dim, uint32 width, uint32 height)
|
||||
{
|
||||
return GetMtlTextureDecoder(format, isDepth);
|
||||
return GetMtlPixelFormatInfo(format, isDepth).textureDecoder;
|
||||
}
|
||||
|
||||
void MetalRenderer::texture_clearSlice(LatteTexture* hostTexture, sint32 sliceIndex, sint32 mipIndex)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue