Browse Source
Merge pull request #8154 from ameerj/unneeded-read-block
texture_cache/util: Remove unneeded ReadBlockUnsafe
pull/15/merge
bunnei
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
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); |
|
|
|
|