From 0789f8f3d48dae48cf7431a5b6bdddf10d1593c5 Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 18 Nov 2016 16:51:47 +0100 Subject: [PATCH] Bump up the size of the root signature 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 3cb8a62b1..e4bfe4ec4 100644 --- a/renderdoc/driver/d3d12/d3d12_resources.h +++ b/renderdoc/driver/d3d12/d3d12_resources.h @@ -822,7 +822,9 @@ public: class WrappedID3D12RootSignature : public WrappedDeviceChild12 { public: - ALLOCATE_WITH_WRAPPED_POOL(WrappedID3D12RootSignature); + static const int AllocPoolCount = 8192; + static const int AllocMaxByteSize = 2 * 1024 * 1024; + ALLOCATE_WITH_WRAPPED_POOL(WrappedID3D12RootSignature, AllocPoolCount, AllocMaxByteSize); D3D12RootSignature sig;