1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

rsx: Allow longer dispatch queues to accomodate games with high draw call count

This commit is contained in:
kd-11 2022-08-19 15:24:11 +03:00 committed by kd-11
parent b2c9add47e
commit b5abd777b0
2 changed files with 4 additions and 4 deletions

View File

@ -102,8 +102,8 @@ namespace rsx
const u32 min_zcull_tick_us = 100;
// Number of occlusion query slots available. Real hardware actually has far fewer units before choking
const u32 occlusion_query_count = 1024;
const u32 max_safe_queue_depth = 892;
const u32 occlusion_query_count = 2048;
const u32 max_safe_queue_depth = 1792;
bool unit_enabled = false; // The ZCULL unit is on
bool write_enabled = false; // A surface in the ZCULL-monitored tile region has been loaded for rasterization
@ -111,7 +111,7 @@ namespace rsx
bool zpass_count_enabled = false; // Collecting of ZPASS statistics is enabled. If this is off, the counter does not increment
bool host_queries_active = false; // The backend/host is gathering Z data for the ZCULL unit
std::array<occlusion_query_info, 1024> m_occlusion_query_data = {};
std::array<occlusion_query_info, 2048> m_occlusion_query_data = {};
std::stack<occlusion_query_info*> m_free_occlusion_pool{};
occlusion_query_info* m_current_task = nullptr;

View File

@ -19,7 +19,7 @@
#define VK_FRAGMENT_CONSTANTS_BUFFER_SIZE_M 16
#define VK_INDEX_RING_BUFFER_SIZE_M 16
#define VK_MAX_ASYNC_CB_COUNT 256
#define VK_MAX_ASYNC_CB_COUNT 512
#define VK_MAX_ASYNC_FRAMES 2
#define FRAME_PRESENT_TIMEOUT 10000000ull // 10 seconds