[vk] Add missing flush per spec
All checks were successful
eden-license / license-header (pull_request) Successful in 21s

This commit is contained in:
Ribbit 2025-09-29 18:49:30 -07:00
parent 815d85677a
commit 508f3c1f69

View file

@ -280,6 +280,7 @@ void Layer::UpdateRawImage(const Tegra::FramebufferConfig& framebuffer, size_t i
Tegra::Texture::UnswizzleTexture(
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);
buffer.Flush(); // Ensure host writes are visible before the GPU copy.
}
const VkBufferImageCopy copy{