mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-22 12:39:52 +00:00
vk: Fix DMA data leak
- There still does not exist a ranged flush implementation which is required. - TODO: Implement this properly
This commit is contained in:
parent
1166ae19bb
commit
698702cd4a
@ -246,6 +246,14 @@ namespace vk
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (context != rsx::texture_upload_context::dma)
|
||||||
|
{
|
||||||
|
// Partial load for the bits outside the existing image
|
||||||
|
// NOTE: A true DMA section would have been prepped beforehand
|
||||||
|
// TODO: Parial range load/flush
|
||||||
|
vk::load_dma(valid_range.start, section_length);
|
||||||
|
}
|
||||||
|
|
||||||
std::vector<VkBufferCopy> copy;
|
std::vector<VkBufferCopy> copy;
|
||||||
copy.reserve(transfer_height);
|
copy.reserve(transfer_height);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user