summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestShaderResourceLayout.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-12-04 05:34:48 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-12-04 05:34:48 +0000
commitb251377cae1247bd6b752fb513a0330f3787835f (patch)
tree8972e0c7814ee53d2b3fd3f32b7cd2136de5a4ce /Tests/TestApp/src/TestShaderResourceLayout.cpp
parentUpdated the API (SetVertexBuffers, SetIndexBuffers, DRAW_FLAGS and other) (diff)
downloadDiligentEngine-b251377cae1247bd6b752fb513a0330f3787835f.tar.gz
DiligentEngine-b251377cae1247bd6b752fb513a0330f3787835f.zip
Updated SetRenderTargets() and ClearDepthStencil() methods to take StateTransitionMode parameter
Diffstat (limited to 'Tests/TestApp/src/TestShaderResourceLayout.cpp')
-rw-r--r--Tests/TestApp/src/TestShaderResourceLayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/TestApp/src/TestShaderResourceLayout.cpp b/Tests/TestApp/src/TestShaderResourceLayout.cpp
index e5b74d4..966dc75 100644
--- a/Tests/TestApp/src/TestShaderResourceLayout.cpp
+++ b/Tests/TestApp/src/TestShaderResourceLayout.cpp
@@ -85,7 +85,7 @@ TestShaderResourceLayout::TestShaderResourceLayout( IRenderDevice *pDevice, IDev
RefCntAutoPtr<ITexture> pRenderTarget;
pDevice->CreateTexture(TexDesc, TextureData{}, &pRenderTarget);
auto *pRTV = pRenderTarget->GetDefaultView(TEXTURE_VIEW_RENDER_TARGET);
- m_pDeviceContext->SetRenderTargets(1, &pRTV, nullptr, SET_RENDER_TARGETS_FLAG_TRANSITION_ALL);
+ m_pDeviceContext->SetRenderTargets(1, &pRTV, nullptr, RESOURCE_STATE_TRANSITION_MODE_TRANSITION);
float Zero[4] = {};
m_pDeviceContext->ClearRenderTarget(pRTV, Zero, RESOURCE_STATE_TRANSITION_MODE_VERIFY);