Tuning
This commit is contained in:
@@ -469,6 +469,12 @@ namespace rsx
|
|||||||
free_rsx_memory(Traits::get(surface));
|
free_rsx_memory(Traits::get(surface));
|
||||||
Traits::notify_surface_invalidated(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);
|
old_surface_storage = std::move(surface);
|
||||||
primary_storage->erase(It);
|
primary_storage->erase(It);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -574,6 +574,7 @@ namespace vk
|
|||||||
view_swizzle = source->native_component_map;
|
view_swizzle = source->native_component_map;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
image->set_debug_name("Temp view");
|
||||||
image->set_native_component_layout(view_swizzle);
|
image->set_native_component_layout(view_swizzle);
|
||||||
auto view = image->get_view(rsx::get_remap_encoding(remap_vector), remap_vector);
|
auto view = image->get_view(rsx::get_remap_encoding(remap_vector), remap_vector);
|
||||||
|
|
||||||
|
|||||||
@@ -146,6 +146,7 @@ namespace vk
|
|||||||
}
|
}
|
||||||
|
|
||||||
ptr.reset(create_texture());
|
ptr.reset(create_texture());
|
||||||
|
ptr->set_debug_name(fmt::format("Scratch: Format=0x%x", static_cast<u32>(format)));
|
||||||
}
|
}
|
||||||
|
|
||||||
return ptr.get();
|
return ptr.get();
|
||||||
|
|||||||
Reference in New Issue
Block a user