summaryrefslogtreecommitdiff
path: root/src/video_core/textures
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-04-28 13:53:47 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-04-28 14:02:51 -0400
commit9df67b20956c8d0ecaf9fea4a3c82858a66adcca (patch)
treee44689a65b28ea298bd793a8461618ffadebf9f7 /src/video_core/textures
parent37c690576f8b7b9b4207973807b826411452f0c3 (diff)
Clang Format and Documentation.
Diffstat (limited to 'src/video_core/textures')
-rw-r--r--src/video_core/textures/decoders.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/textures/decoders.h b/src/video_core/textures/decoders.h
index e0ff83754..06f3ebf87 100644
--- a/src/video_core/textures/decoders.h
+++ b/src/video_core/textures/decoders.h
@@ -59,6 +59,7 @@ void UnswizzleSubrect(u32 subrect_width, u32 subrect_height, u32 dest_pitch, u32
void SwizzleKepler(u32 width, u32 height, u32 dst_x, u32 dst_y, u32 block_height,
std::size_t copy_size, const u8* source_data, u8* swizzle_data);
+/// Obtains the offset of the gob for positions 'dst_x' & 'dst_y'
u64 GetGOBOffset(u32 width, u32 height, u32 dst_x, u32 dst_y, u32 block_height,
u32 bytes_per_pixel);