mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-16 23:18:07 -05:00
textures: Refactor out for Texture/Depth FormatFromPixelFormat.
This commit is contained in:
@ -13,8 +13,8 @@ namespace Tegra::Texture {
|
||||
/**
|
||||
* Unswizzles a swizzled texture without changing its format.
|
||||
*/
|
||||
std::vector<u8> UnswizzleTexture(VAddr address, TextureFormat format, u32 width, u32 height,
|
||||
u32 block_height = TICEntry::DefaultBlockHeight);
|
||||
std::vector<u8> UnswizzleTexture(VAddr address, u32 tile_size, u32 bytes_per_pixel, u32 width,
|
||||
u32 height, u32 block_height = TICEntry::DefaultBlockHeight);
|
||||
|
||||
/**
|
||||
* Unswizzles a swizzled depth texture without changing its format.
|
||||
|
Reference in New Issue
Block a user