From c962fbb043096f865c0fce222770bb9502576979 Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 13 Mar 2015 11:28:56 +0000 Subject: [PATCH] Allow more queries in the initial wrapped pool * The Talos Principle allocs more than 8192 --- renderdoc/driver/d3d11/d3d11_resources.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/renderdoc/driver/d3d11/d3d11_resources.h b/renderdoc/driver/d3d11/d3d11_resources.h index 80ee07c76..f84d9d37b 100644 --- a/renderdoc/driver/d3d11/d3d11_resources.h +++ b/renderdoc/driver/d3d11/d3d11_resources.h @@ -1179,7 +1179,9 @@ public: class WrappedID3D11Query : public WrappedDeviceChild { public: - ALLOCATE_WITH_WRAPPED_POOL(WrappedID3D11Query); + static const int AllocPoolCount = 16*1024; + static const int AllocPoolMaxByteSize = 1024*1024; + ALLOCATE_WITH_WRAPPED_POOL(WrappedID3D11Query, AllocPoolCount, AllocPoolMaxByteSize); WrappedID3D11Query(ID3D11Query* real, WrappedID3D11Device* device) : WrappedDeviceChild(real, device) {}