mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-09 16:00:01 +00:00
Texture Cache: Improve documentation
This commit is contained in:
parent
a3916588b6
commit
218ee18417
2 changed files with 5 additions and 4 deletions
|
@ -141,7 +141,7 @@ public:
|
||||||
/// Get this texture Tegra Block size in guest memory layout
|
/// Get this texture Tegra Block size in guest memory layout
|
||||||
u32 GetBlockSize() const;
|
u32 GetBlockSize() const;
|
||||||
|
|
||||||
/// Get X, Y sizes of a block
|
/// Get X, Y coordinates max sizes of a single block.
|
||||||
std::pair<u32, u32> GetBlockXY() const;
|
std::pair<u32, u32> GetBlockXY() const;
|
||||||
|
|
||||||
/// Get the offset in x, y, z coordinates from a memory offset
|
/// Get the offset in x, y, z coordinates from a memory offset
|
||||||
|
|
|
@ -616,8 +616,9 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Takes care of managing 3D textures and its slices. Does some HLE methods when possible.
|
* Takes care of managing 3D textures and its slices. Does HLE methods for reconstructing the 3D
|
||||||
* Fallsback to LLE when it isn't possible.
|
* textures within the GPU if possible. Falls back to LLE when it isn't possible to use any of
|
||||||
|
* the HLE methods.
|
||||||
*
|
*
|
||||||
* @param overlaps The overlapping surfaces registered in the cache.
|
* @param overlaps The overlapping surfaces registered in the cache.
|
||||||
* @param params The parameters on the new surface.
|
* @param params The parameters on the new surface.
|
||||||
|
@ -766,7 +767,7 @@ private:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Look if it's a 3D texture
|
// Check if it's a 3D texture
|
||||||
if (params.block_depth > 0) {
|
if (params.block_depth > 0) {
|
||||||
auto surface =
|
auto surface =
|
||||||
Manage3DSurfaces(overlaps, params, gpu_addr, cache_addr, preserve_contents);
|
Manage3DSurfaces(overlaps, params, gpu_addr, cache_addr, preserve_contents);
|
||||||
|
|
Loading…
Reference in a new issue