rsx: Reduce log spam a bit

This commit is contained in:
kd-11 2022-03-27 22:38:27 +03:00 committed by kd-11
parent d98d152d23
commit 2b42895bc7
2 changed files with 9 additions and 3 deletions

View file

@ -1329,7 +1329,7 @@ namespace rsx
{ {
std::lock_guard lock(m_cache_mutex); std::lock_guard lock(m_cache_mutex);
auto* region_ptr = find_cached_texture(memory_range, { .gcm_format = RSX_GCM_FORMAT_IGNORED }, false, false, false); auto* region_ptr = find_cached_texture(memory_range, { .gcm_format = RSX_GCM_FORMAT_IGNORED }, false, false, true);
if (region_ptr == nullptr) if (region_ptr == nullptr)
{ {
AUDIT(m_flush_always_cache.find(memory_range) == m_flush_always_cache.end()); AUDIT(m_flush_always_cache.find(memory_range) == m_flush_always_cache.end());
@ -1337,6 +1337,12 @@ namespace rsx
return; return;
} }
if (region_ptr->is_dirty())
{
// Previously invalidated
return;
}
auto& region = *region_ptr; auto& region = *region_ptr;
if (!region.exists() || region.is_dirty() || region.get_context() != texture_upload_context::framebuffer_storage) if (!region.exists() || region.is_dirty() || region.get_context() != texture_upload_context::framebuffer_storage)

View file

@ -459,8 +459,8 @@ namespace rsx
{ {
if (found_slices > 0) if (found_slices > 0)
{ {
//TODO: Gather remaining sides from the texture cache or upload from cpu (too slow?) // TODO: Gather remaining sides from the texture cache or upload from cpu (too slow?)
rsx_log.error("Could not gather all required slices for cubemap/3d generation"); rsx_log.warning("Could not gather all required slices for cubemap/3d generation");
} }
else else
{ {