rsx: Write a warning to the log if we decide to collapse surfaces to reduce VRAM usage.

This commit is contained in:
kd-11 2023-06-01 02:59:10 +03:00 committed by kd-11
parent ac0c60b740
commit bbbc5f6e6c

View File

@ -1448,6 +1448,9 @@ namespace rsx
{
pre_task_callback(cmd);
rsx_log.warning("[PERFORMANCE WARNING] Invalidated resource pool has exceeded the desired limit. A trim will now be attempted. Current=%u, Limit=%u",
invalidated_resources.size(), max_invalidated_resources_count);
// Check invalidated resources as they can have long dependency chains
trim_invalidated_resources(cmd, memory_pressure);