diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-07-02 16:48:04 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-07-02 16:48:04 +0000 |
| commit | a7bce1b27c4f1fe3d96859588f23f86d2b4d595d (patch) | |
| tree | 323fdf550fabca56a8bd77dae4989a693d78a69d /Tests/TestApp/src/TestTexturing.cpp | |
| parent | Updated tests (diff) | |
| download | DiligentEngine-a7bce1b27c4f1fe3d96859588f23f86d2b4d595d.tar.gz DiligentEngine-a7bce1b27c4f1fe3d96859588f23f86d2b4d595d.zip | |
Updated unit tests to set DSV format in PSO
Diffstat (limited to 'Tests/TestApp/src/TestTexturing.cpp')
| -rw-r--r-- | Tests/TestApp/src/TestTexturing.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/TestApp/src/TestTexturing.cpp b/Tests/TestApp/src/TestTexturing.cpp index bcf1b85..de1e6d0 100644 --- a/Tests/TestApp/src/TestTexturing.cpp +++ b/Tests/TestApp/src/TestTexturing.cpp @@ -253,6 +253,7 @@ void TestTexturing::Init( IRenderDevice *pDevice, IDeviceContext *pDeviceContext PSODesc.GraphicsPipeline.BlendDesc.IndependentBlendEnable = False; PSODesc.GraphicsPipeline.BlendDesc.RenderTargets[0].BlendEnable = False; PSODesc.GraphicsPipeline.RTVFormats[0] = pSwapChain->GetDesc().ColorBufferFormat; + PSODesc.GraphicsPipeline.DSVFormat = pSwapChain->GetDesc().DepthBufferFormat; PSODesc.GraphicsPipeline.NumRenderTargets = 1; PSODesc.GraphicsPipeline.pVS = pVS; PSODesc.GraphicsPipeline.pPS = pPS; |
