From a396713f3c90c53293f4a563dd9da36fa91f4203 Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 26 Oct 2016 23:09:52 +0200 Subject: [PATCH] Increase size of initial pipeline state pool --- renderdoc/driver/d3d12/d3d12_resources.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/renderdoc/driver/d3d12/d3d12_resources.h b/renderdoc/driver/d3d12/d3d12_resources.h index aee32aaa7..7db85e3d4 100644 --- a/renderdoc/driver/d3d12/d3d12_resources.h +++ b/renderdoc/driver/d3d12/d3d12_resources.h @@ -425,7 +425,9 @@ public: class WrappedID3D12PipelineState : public WrappedDeviceChild12 { public: - ALLOCATE_WITH_WRAPPED_POOL(WrappedID3D12PipelineState); + static const int AllocPoolCount = 65536; + static const int AllocMaxByteSize = 5 * 1024 * 1024; + ALLOCATE_WITH_WRAPPED_POOL(WrappedID3D12PipelineState, AllocPoolCount, AllocMaxByteSize); D3D12_GRAPHICS_PIPELINE_STATE_DESC *graphics; D3D12_COMPUTE_PIPELINE_STATE_DESC *compute;