|
|
@ -280,7 +280,6 @@ void Layer::UpdateRawImage(const Tegra::FramebufferConfig& framebuffer, size_t i |
|
|
Tegra::Texture::UnswizzleTexture( |
|
|
Tegra::Texture::UnswizzleTexture( |
|
|
mapped_span.subspan(image_offset, linear_size), std::span(host_ptr, tiled_size), |
|
|
mapped_span.subspan(image_offset, linear_size), std::span(host_ptr, tiled_size), |
|
|
bytes_per_pixel, framebuffer.width, framebuffer.height, 1, block_height_log2, 0); |
|
|
bytes_per_pixel, framebuffer.width, framebuffer.height, 1, block_height_log2, 0); |
|
|
buffer.Flush(); // Ensure host writes are visible before the GPU copy.
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const VkBufferImageCopy copy{ |
|
|
const VkBufferImageCopy copy{ |
|
|
|