1
0
Fork 0
forked from eden-emu/eden

[vk] Add missing flush per spec

This commit is contained in:
Ribbit 2025-09-29 18:49:30 -07:00 committed by crueter
parent 1a5b3fb239
commit fab4fb05a7

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{