diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-12-22 17:29:23 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-12-22 17:29:23 +0100 |
commit | 218ee1841772e1d74370d464078c43112ed3505a (patch) | |
tree | eeb9d932ca202b1649774e076a6d12176b4d9c17 /src/video_core/texture_cache | |
parent | Texture Cache: Address Feedback (diff) | |
download | yuzu-218ee1841772e1d74370d464078c43112ed3505a.tar yuzu-218ee1841772e1d74370d464078c43112ed3505a.tar.gz yuzu-218ee1841772e1d74370d464078c43112ed3505a.tar.bz2 yuzu-218ee1841772e1d74370d464078c43112ed3505a.tar.lz yuzu-218ee1841772e1d74370d464078c43112ed3505a.tar.xz yuzu-218ee1841772e1d74370d464078c43112ed3505a.tar.zst yuzu-218ee1841772e1d74370d464078c43112ed3505a.zip |
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r-- | src/video_core/texture_cache/surface_params.h | 2 | ||||
-rw-r--r-- | src/video_core/texture_cache/texture_cache.h | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/video_core/texture_cache/surface_params.h b/src/video_core/texture_cache/surface_params.h index 84c8b2940..992b5c022 100644 --- a/src/video_core/texture_cache/surface_params.h +++ b/src/video_core/texture_cache/surface_params.h @@ -141,7 +141,7 @@ public: /// Get this texture Tegra Block size in guest memory layout 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; /// Get the offset in x, y, z coordinates from a memory offset diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index 9c2d108d3..f4c015635 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h @@ -616,8 +616,9 @@ private: } /** - * Takes care of managing 3D textures and its slices. Does some HLE methods when possible. - * Fallsback to LLE when it isn't possible. + * Takes care of managing 3D textures and its slices. Does HLE methods for reconstructing the 3D + * 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 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) { auto surface = Manage3DSurfaces(overlaps, params, gpu_addr, cache_addr, preserve_contents); |