summaryrefslogtreecommitdiffstats
path: root/src/video_core/textures/decoders.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-04-28 19:53:47 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-04-28 20:02:51 +0200
commit9df67b20956c8d0ecaf9fea4a3c82858a66adcca (patch)
treee44689a65b28ea298bd793a8461618ffadebf9f7 /src/video_core/textures/decoders.h
parentMaxwellDMA: Optimize micro copies. (diff)
downloadyuzu-9df67b20956c8d0ecaf9fea4a3c82858a66adcca.tar
yuzu-9df67b20956c8d0ecaf9fea4a3c82858a66adcca.tar.gz
yuzu-9df67b20956c8d0ecaf9fea4a3c82858a66adcca.tar.bz2
yuzu-9df67b20956c8d0ecaf9fea4a3c82858a66adcca.tar.lz
yuzu-9df67b20956c8d0ecaf9fea4a3c82858a66adcca.tar.xz
yuzu-9df67b20956c8d0ecaf9fea4a3c82858a66adcca.tar.zst
yuzu-9df67b20956c8d0ecaf9fea4a3c82858a66adcca.zip
Diffstat (limited to 'src/video_core/textures/decoders.h')
-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);