mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
vk: Remove old useless hack that interferes with memory inheritance
This commit is contained in:
parent
3be4b474d9
commit
d8e45c86e6
1 changed files with 2 additions and 6 deletions
|
@ -155,12 +155,10 @@ namespace rsx
|
|||
rtt->native_pitch = (u16)width * get_format_block_size_in_bytes(format);
|
||||
rtt->surface_width = (u16)width;
|
||||
rtt->surface_height = (u16)height;
|
||||
rtt->old_contents = old_surface;
|
||||
rtt->queue_tag(address);
|
||||
rtt->dirty = true;
|
||||
|
||||
if (old_surface != nullptr && old_surface->info.format == requested_format)
|
||||
rtt->old_contents = old_surface;
|
||||
|
||||
return rtt;
|
||||
}
|
||||
|
||||
|
@ -201,12 +199,10 @@ namespace rsx
|
|||
ds->attachment_aspect_flag = range.aspectMask;
|
||||
ds->surface_width = (u16)width;
|
||||
ds->surface_height = (u16)height;
|
||||
ds->old_contents = old_surface;
|
||||
ds->queue_tag(address);
|
||||
ds->dirty = true;
|
||||
|
||||
if (old_surface != nullptr && old_surface->info.format == requested_format)
|
||||
ds->old_contents = old_surface;
|
||||
|
||||
return ds;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue