1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[dxvk] Increase query pool sizes

Some games create hundreds of timestamp queries, we want to reduce
the number of pools in that case.
This commit is contained in:
Philip Rebohle 2020-11-21 03:35:41 +01:00
parent d256175981
commit bf4465f5a2
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -255,10 +255,10 @@ namespace dxvk {
DxvkGpuQueryPool::DxvkGpuQueryPool(DxvkDevice* device)
: m_occlusion(device, VK_QUERY_TYPE_OCCLUSION, 2048),
m_statistic(device, VK_QUERY_TYPE_PIPELINE_STATISTICS, 256),
m_timestamp(device, VK_QUERY_TYPE_TIMESTAMP, 256),
m_xfbStream(device, VK_QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT, 256) {
: m_occlusion(device, VK_QUERY_TYPE_OCCLUSION, 16384),
m_statistic(device, VK_QUERY_TYPE_PIPELINE_STATISTICS, 1024),
m_timestamp(device, VK_QUERY_TYPE_TIMESTAMP, 1024),
m_xfbStream(device, VK_QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT, 1024) {
}