This commit is contained in:
kd-11 2022-08-05 20:05:04 +03:00 committed by kd-11
parent 64b4cfa59f
commit 61a055a1c6
3 changed files with 8 additions and 0 deletions

View file

@ -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);
}

View file

@ -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);

View file

@ -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();