mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Tuning
This commit is contained in:
parent
64b4cfa59f
commit
61a055a1c6
3 changed files with 8 additions and 0 deletions
|
@ -469,6 +469,12 @@ namespace rsx
|
|||
free_rsx_memory(Traits::get(surface));
|
||||
Traits::notify_surface_invalidated(surface);
|
||||
|
||||
if (old_surface_storage)
|
||||
{
|
||||
// Pitch-converted data. Send to invalidated pool immediately.
|
||||
invalidated_resources.push_back(std::move(old_surface_storage));
|
||||
}
|
||||
|
||||
old_surface_storage = std::move(surface);
|
||||
primary_storage->erase(It);
|
||||
}
|
||||
|
|
|
@ -574,6 +574,7 @@ namespace vk
|
|||
view_swizzle = source->native_component_map;
|
||||
}
|
||||
|
||||
image->set_debug_name("Temp view");
|
||||
image->set_native_component_layout(view_swizzle);
|
||||
auto view = image->get_view(rsx::get_remap_encoding(remap_vector), remap_vector);
|
||||
|
||||
|
|
|
@ -146,6 +146,7 @@ namespace vk
|
|||
}
|
||||
|
||||
ptr.reset(create_texture());
|
||||
ptr->set_debug_name(fmt::format("Scratch: Format=0x%x", static_cast<u32>(format)));
|
||||
}
|
||||
|
||||
return ptr.get();
|
||||
|
|
Loading…
Add table
Reference in a new issue