summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestSeparateTextureSampler.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-12-02 23:44:56 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-12-02 23:44:56 +0000
commitc7db634ec3e350b9cf665ec0f75455189a8eaace (patch)
tree35ad25a85cdf99242bf8af3b8cd3c036654c05d1 /Tests/TestApp/src/TestSeparateTextureSampler.cpp
parentBrought back MapType paramter to UnmapBuffer() function. (diff)
downloadDiligentEngine-c7db634ec3e350b9cf665ec0f75455189a8eaace.tar.gz
DiligentEngine-c7db634ec3e350b9cf665ec0f75455189a8eaace.zip
Added explicit state transition control to CopyBuffer and CopyTexture methods
Replaced CLEAR_RENDER_TARGET_TRANSITION_MODE with RESOURCE_STATE_TRANSITION_MODE
Diffstat (limited to 'Tests/TestApp/src/TestSeparateTextureSampler.cpp')
-rw-r--r--Tests/TestApp/src/TestSeparateTextureSampler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/TestApp/src/TestSeparateTextureSampler.cpp b/Tests/TestApp/src/TestSeparateTextureSampler.cpp
index 989fa05..a39e80b 100644
--- a/Tests/TestApp/src/TestSeparateTextureSampler.cpp
+++ b/Tests/TestApp/src/TestSeparateTextureSampler.cpp
@@ -153,7 +153,7 @@ TestSeparateTextureSampler::TestSeparateTextureSampler(IRenderDevice *pDevice, I
ITextureView* pRTV[] = {pRenderTarget->GetDefaultView(TEXTURE_VIEW_RENDER_TARGET)};
pContext->SetRenderTargets(1, pRTV, nullptr, SET_RENDER_TARGETS_FLAG_TRANSITION_ALL);
float Zero[4] = {};
- pContext->ClearRenderTarget(pRTV[0], Zero, CLEAR_RENDER_TARGET_VERIFY_STATE);
+ pContext->ClearRenderTarget(pRTV[0], Zero, RESOURCE_STATE_TRANSITION_MODE_VERIFY);
pContext->SetPipelineState(pPSO);
pContext->CommitShaderResources(pSRB, COMMIT_SHADER_RESOURCES_FLAG_TRANSITION_RESOURCES);
DrawAttribs DrawAttrs;