diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-10-06 20:17:26 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-10-06 20:17:26 +0000 |
| commit | 1a8406ee55f95c44e9bb096c7954543f505b7a0d (patch) | |
| tree | 806b9480a844e673ba8bd8d088ce42da008ba89e /Graphics/GraphicsEngine | |
| parent | Fixed minor issue in PurgeReleaseQueues() (diff) | |
| download | DiligentCore-1a8406ee55f95c44e9bb096c7954543f505b7a0d.tar.gz DiligentCore-1a8406ee55f95c44e9bb096c7954543f505b7a0d.zip | |
Some mostly cosmetic code changes + better reporting of dynamic descriptor allocation in D3D12 + some additional debug checks
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/GraphicsTypes.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h index 7d4f6817..169a0793 100644 --- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h +++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h @@ -1237,23 +1237,23 @@ namespace Diligent /// Size of the CPU descriptor heap allocations for different heap types. Uint32 CPUDescriptorHeapAllocationSize[4] = { - 1024, // D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV - 256, // D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER - 128, // D3D12_DESCRIPTOR_HEAP_TYPE_RTV - 64 // D3D12_DESCRIPTOR_HEAP_TYPE_DSV + 8192, // D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV + 2048, // D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER + 1024, // D3D12_DESCRIPTOR_HEAP_TYPE_RTV + 1024 // D3D12_DESCRIPTOR_HEAP_TYPE_DSV }; /// Size of the GPU descriptor heap allocations for different heap types. Uint32 GPUDescriptorHeapSize[2] = { - 16384, // D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV - 1024 // D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER + 16384, // D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV + 1024 // D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER }; /// Size of the dynamic GPU descriptor heap region for different heap types. Uint32 GPUDescriptorHeapDynamicSize[2] = { - 4096, // D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV + 8192, // D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV 1024 // D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER }; @@ -1261,8 +1261,8 @@ namespace Diligent /// request from the main GPU descriptor heap. Uint32 DynamicDescriptorAllocationChunkSize[2] = { - 128, // D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV - 16 // D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER + 256, // D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV + 32 // D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER }; /// Number of commands to flush the command list. Only draw/dispatch commands count |
