From b1de32bc50dd491ce037030fe313fe5db29f8a21 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 7 Apr 2019 12:47:57 -0700 Subject: Updated DRAW_FLAG to match API 240022 --- Tests/TestApp/src/TestApp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Tests/TestApp/src/TestApp.cpp') diff --git a/Tests/TestApp/src/TestApp.cpp b/Tests/TestApp/src/TestApp.cpp index 9be7bc4..a252e8d 100644 --- a/Tests/TestApp/src/TestApp.cpp +++ b/Tests/TestApp/src/TestApp.cpp @@ -552,7 +552,7 @@ void TestApp::InitializeRenderers() m_pImmediateContext->ClearRenderTarget(nullptr, ClearColor, RESOURCE_STATE_TRANSITION_MODE_VERIFY); DrawAttribs DrawAttrs; DrawAttrs.NumVertices = 3; - DrawAttrs.Flags = DRAW_FLAG_VERIFY_STATES; + DrawAttrs.Flags = DRAW_FLAG_VERIFY_ALL; m_pRenderScript->Run(m_pImmediateContext, "DrawTris", DrawAttrs); // This adds transition barrier for pTex1 @@ -688,14 +688,14 @@ void TestApp::Render() DrawAttribs DrawAttrs; DrawAttrs.NumVertices = 3; - DrawAttrs.Flags = DRAW_FLAG_VERIFY_STATES; + DrawAttrs.Flags = DRAW_FLAG_VERIFY_ALL; m_pRenderScript->Run(m_pImmediateContext, "DrawTris", DrawAttrs); DrawAttrs.IsIndexed = true; DrawAttrs.NumIndices = 3; DrawAttrs.IndexType = VT_UINT32; DrawAttrs.NumInstances = 3; - DrawAttrs.Flags = DRAW_FLAG_VERIFY_STATES; + DrawAttrs.Flags = DRAW_FLAG_VERIFY_ALL; m_pRenderScript->Run(m_pImmediateContext, "DrawTris", DrawAttrs); m_pTestDrawCommands->Draw(); m_pTestBufferAccess->Draw((float)dCurrTime); -- cgit v1.2.3