diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-09-26 16:39:58 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-09-26 16:39:58 +0000 |
| commit | 36591fc5599f58d98063df120fe19002730f1646 (patch) | |
| tree | 4b28e2bc112f3dad52136c3bb5254aa2e4fcbdaa /Tests/TestApp/src/TestApp.cpp | |
| parent | Updated core (fixed VAO issue in GL backend) (diff) | |
| download | DiligentEngine-36591fc5599f58d98063df120fe19002730f1646.tar.gz DiligentEngine-36591fc5599f58d98063df120fe19002730f1646.zip | |
Updated core (added EnableDebugLayer member to EngineD3D12CreateInfo struct)
Diffstat (limited to 'Tests/TestApp/src/TestApp.cpp')
| -rw-r--r-- | Tests/TestApp/src/TestApp.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/TestApp/src/TestApp.cpp b/Tests/TestApp/src/TestApp.cpp index 9af6b9d..11a14aa 100644 --- a/Tests/TestApp/src/TestApp.cpp +++ b/Tests/TestApp/src/TestApp.cpp @@ -224,6 +224,9 @@ void TestApp::InitializeDiligentEngine( } EngineD3D12CreateInfo EngD3D12Attribs; +#ifdef _DEBUG + EngD3D12Attribs.EnableDebugLayer = true; +#endif EngD3D12Attribs.CPUDescriptorHeapAllocationSize[0] = 64; // D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV EngD3D12Attribs.CPUDescriptorHeapAllocationSize[1] = 32; // D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER EngD3D12Attribs.CPUDescriptorHeapAllocationSize[2] = 16; // D3D12_DESCRIPTOR_HEAP_TYPE_RTV |
