VulkanHostDisplay: Fix uploading of strided textures

This commit is contained in:
Connor McLaughlin
2022-09-18 12:10:36 +10:00
parent 1e6abc1d64
commit a062cc4706
4 changed files with 10 additions and 6 deletions

View File

@ -1878,7 +1878,8 @@ bool GPU_HW_Vulkan::BlitVRAMReplacementTexture(const TextureReplacementTexture*
// buffer -> texture
m_vram_write_replacement_texture.UpdateFromBuffer(cmdbuf, 0, 0, 0, 0, tex->GetWidth(), tex->GetHeight(),
m_texture_replacment_stream_buffer.GetBuffer(), buffer_offset);
m_texture_replacment_stream_buffer.GetBuffer(), buffer_offset,
tex->GetWidth());
// texture -> vram
const VkImageBlit blit = {