summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-04-04 22:46:44 +0200
committerGitHub <noreply@github.com>2022-04-04 22:46:44 +0200
commitc7f3c2cedf3cfd03f08dc1c6e23464b23c19d330 (patch)
tree8616561aa23a2f650a581b8a35c99c97f518dad8 /src
parentMerge pull request #8089 from merryhime/paranoia (diff)
parenttexture_cache/util: Remove unneeded ReadBlockUnsafe (diff)
downloadyuzu-c7f3c2cedf3cfd03f08dc1c6e23464b23c19d330.tar
yuzu-c7f3c2cedf3cfd03f08dc1c6e23464b23c19d330.tar.gz
yuzu-c7f3c2cedf3cfd03f08dc1c6e23464b23c19d330.tar.bz2
yuzu-c7f3c2cedf3cfd03f08dc1c6e23464b23c19d330.tar.lz
yuzu-c7f3c2cedf3cfd03f08dc1c6e23464b23c19d330.tar.xz
yuzu-c7f3c2cedf3cfd03f08dc1c6e23464b23c19d330.tar.zst
yuzu-c7f3c2cedf3cfd03f08dc1c6e23464b23c19d330.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/texture_cache/util.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/util.cpp b/src/video_core/texture_cache/util.cpp
index d8e19cb2f..334cb7b05 100644
--- a/src/video_core/texture_cache/util.cpp
+++ b/src/video_core/texture_cache/util.cpp
@@ -561,7 +561,6 @@ void SwizzleBlockLinearImage(Tegra::MemoryManager& gpu_memory, GPUVAddr gpu_addr
for (s32 layer = 0; layer < info.resources.layers; ++layer) {
const std::span<const u8> src = input.subspan(host_offset);
- gpu_memory.ReadBlockUnsafe(gpu_addr + guest_offset, dst.data(), dst.size_bytes());
SwizzleTexture(dst, src, bytes_per_block, num_tiles.width, num_tiles.height,
num_tiles.depth, block.height, block.depth);