textures: Refactor out for Texture/Depth FormatFromPixelFormat.
This commit is contained in:
parent
6828c25498
commit
3a67876252
5 changed files with 31 additions and 181 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue