diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-12-01 18:46:24 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-12-01 18:46:24 +0000 |
| commit | cc6c4bac6b4e05994ba2bbb4441514eb899ee670 (patch) | |
| tree | 98adf59b37bc0a9f1b1e51343c9f5d9ace2fa9be /Tests/TestApp/src/TestShaderVarAccess.cpp | |
| parent | Updated core (diff) | |
| download | DiligentEngine-cc6c4bac6b4e05994ba2bbb4441514eb899ee670.tar.gz DiligentEngine-cc6c4bac6b4e05994ba2bbb4441514eb899ee670.zip | |
Added state transition mode to ClearRenderTarget()
Diffstat (limited to 'Tests/TestApp/src/TestShaderVarAccess.cpp')
| -rw-r--r-- | Tests/TestApp/src/TestShaderVarAccess.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/TestApp/src/TestShaderVarAccess.cpp b/Tests/TestApp/src/TestShaderVarAccess.cpp index 4b571f6..dce6440 100644 --- a/Tests/TestApp/src/TestShaderVarAccess.cpp +++ b/Tests/TestApp/src/TestShaderVarAccess.cpp @@ -554,7 +554,7 @@ TestShaderVarAccess::TestShaderVarAccess( IRenderDevice *pDevice, IDeviceContext m_pDeviceContext->SetRenderTargets(1, &pRTV, pDSV, SET_RENDER_TARGETS_FLAG_TRANSITION_ALL); float Zero[4] = {}; - m_pDeviceContext->ClearRenderTarget(pRTV, Zero); + m_pDeviceContext->ClearRenderTarget(pRTV, Zero, CLEAR_RENDER_TARGET_VERIFY_STATE); m_pDeviceContext->ClearDepthStencil(pDSV, CLEAR_DEPTH_FLAG); pContext->CommitShaderResources(pSRB, COMMIT_SHADER_RESOURCES_FLAG_TRANSITION_RESOURCES); |
