summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestShaderResArrays.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-07-02 16:48:04 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-07-02 16:48:04 +0000
commita7bce1b27c4f1fe3d96859588f23f86d2b4d595d (patch)
tree323fdf550fabca56a8bd77dae4989a693d78a69d /Tests/TestApp/src/TestShaderResArrays.cpp
parentUpdated tests (diff)
downloadDiligentEngine-a7bce1b27c4f1fe3d96859588f23f86d2b4d595d.tar.gz
DiligentEngine-a7bce1b27c4f1fe3d96859588f23f86d2b4d595d.zip
Updated unit tests to set DSV format in PSO
Diffstat (limited to 'Tests/TestApp/src/TestShaderResArrays.cpp')
-rw-r--r--Tests/TestApp/src/TestShaderResArrays.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/TestApp/src/TestShaderResArrays.cpp b/Tests/TestApp/src/TestShaderResArrays.cpp
index 08e9448..d58b776 100644
--- a/Tests/TestApp/src/TestShaderResArrays.cpp
+++ b/Tests/TestApp/src/TestShaderResArrays.cpp
@@ -80,8 +80,9 @@ TestShaderResArrays::TestShaderResArrays(IRenderDevice *pDevice, IDeviceContext
PSODesc.GraphicsPipeline.RasterizerDesc.CullMode = CULL_MODE_NONE;
PSODesc.GraphicsPipeline.BlendDesc.IndependentBlendEnable = False;
PSODesc.GraphicsPipeline.BlendDesc.RenderTargets[0].BlendEnable = False;
- PSODesc.GraphicsPipeline.RTVFormats[0] = pSwapChain->GetDesc().ColorBufferFormat;
PSODesc.GraphicsPipeline.NumRenderTargets = 1;
+ PSODesc.GraphicsPipeline.RTVFormats[0] = pSwapChain->GetDesc().ColorBufferFormat;
+ PSODesc.GraphicsPipeline.DSVFormat = pSwapChain->GetDesc().DepthBufferFormat;
PSODesc.GraphicsPipeline.pVS = pVS;
PSODesc.GraphicsPipeline.pPS = pPS;