From 017f5133606d1e9c433048a8e50b9648fff2b81f Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 2 Dec 2018 17:42:16 -0800 Subject: Replaced COMMIT_SHADER_RESOURCES_FLAGS with RESOURCE_STATE_TRANSITION_MODE --- Tests/TestApp/src/TestTessellation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Tests/TestApp/src/TestTessellation.cpp') diff --git a/Tests/TestApp/src/TestTessellation.cpp b/Tests/TestApp/src/TestTessellation.cpp index c4a4706..66da395 100644 --- a/Tests/TestApp/src/TestTessellation.cpp +++ b/Tests/TestApp/src/TestTessellation.cpp @@ -132,7 +132,7 @@ void TestTessellation::Draw() return; m_pDeviceContext->SetPipelineState(m_pQuadPSO); - m_pDeviceContext->CommitShaderResources(nullptr, COMMIT_SHADER_RESOURCES_FLAG_TRANSITION_RESOURCES); + m_pDeviceContext->CommitShaderResources(nullptr, RESOURCE_STATE_TRANSITION_MODE_TRANSITION); Diligent::DrawAttribs DrawAttrs; DrawAttrs.Flags = DRAW_FLAG_VERIFY_STATES; @@ -140,7 +140,7 @@ void TestTessellation::Draw() m_pDeviceContext->Draw(DrawAttrs); m_pDeviceContext->SetPipelineState(m_pTriPSO); - m_pDeviceContext->CommitShaderResources(nullptr, COMMIT_SHADER_RESOURCES_FLAG_TRANSITION_RESOURCES); + m_pDeviceContext->CommitShaderResources(nullptr, RESOURCE_STATE_TRANSITION_MODE_TRANSITION); DrawAttrs.NumVertices = 1; // Draw 1 tri patch m_pDeviceContext->Draw(DrawAttrs); -- cgit v1.2.3