summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/surface_params.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-12-10 14:34:37 +0100
committerFernandoS27 <fsahmkow27@gmail.com>2019-12-22 17:24:34 +0100
commita3916588b6964c6764a4f601c86b09a7d5eb2d4f (patch)
tree113b3d188241b486c4931216fe77d89fa3a29968 /src/video_core/texture_cache/surface_params.h
parentTexture Cache: Add HLE methods for building 3D textures within the GPU in certain scenarios. (diff)
downloadyuzu-a3916588b6964c6764a4f601c86b09a7d5eb2d4f.tar
yuzu-a3916588b6964c6764a4f601c86b09a7d5eb2d4f.tar.gz
yuzu-a3916588b6964c6764a4f601c86b09a7d5eb2d4f.tar.bz2
yuzu-a3916588b6964c6764a4f601c86b09a7d5eb2d4f.tar.lz
yuzu-a3916588b6964c6764a4f601c86b09a7d5eb2d4f.tar.xz
yuzu-a3916588b6964c6764a4f601c86b09a7d5eb2d4f.tar.zst
yuzu-a3916588b6964c6764a4f601c86b09a7d5eb2d4f.zip
Diffstat (limited to 'src/video_core/texture_cache/surface_params.h')
-rw-r--r--src/video_core/texture_cache/surface_params.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/texture_cache/surface_params.h b/src/video_core/texture_cache/surface_params.h
index 1c6be25da..84c8b2940 100644
--- a/src/video_core/texture_cache/surface_params.h
+++ b/src/video_core/texture_cache/surface_params.h
@@ -138,13 +138,13 @@ public:
std::size_t GetConvertedMipmapSize(u32 level) const;
- // Get this texture Tegra Block size in guest memory layout
+ /// Get this texture Tegra Block size in guest memory layout
u32 GetBlockSize() const;
- // Get X, Y sizes of a block
+ /// Get X, Y sizes of a block
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
std::tuple<u32, u32, u32> GetBlockOffsetXYZ(u32 offset) const;
/// Returns the size of a layer in bytes in guest memory.