Skip to content
Snippets Groups Projects
Unverified Commit 02473ea7 authored by bunnei's avatar bunnei Committed by GitHub
Browse files

Revert "texture_cache/util: Remove unneeded ReadBlockUnsafe"

parent c7f3c2ce
No related branches found
No related tags found
No related merge requests found
......@@ -561,6 +561,7 @@ 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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment