mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 06:21:26 +12:00
rsx: Reduce log spam a bit
This commit is contained in:
parent
d98d152d23
commit
2b42895bc7
2 changed files with 9 additions and 3 deletions
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue