From 41e5a5404dd18c748a8355c0796d5e53f793c3b9 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Wed, 21 Nov 2018 10:01:10 -0800 Subject: Implemented explicit resource state transitions --- Tests/TestApp/src/TestShaderResArrays.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Tests/TestApp/src/TestShaderResArrays.cpp') diff --git a/Tests/TestApp/src/TestShaderResArrays.cpp b/Tests/TestApp/src/TestShaderResArrays.cpp index 83b2da7..4e27eaf 100644 --- a/Tests/TestApp/src/TestShaderResArrays.cpp +++ b/Tests/TestApp/src/TestShaderResArrays.cpp @@ -190,6 +190,7 @@ void TestShaderResArrays::Draw() Diligent::DrawAttribs DrawAttrs; DrawAttrs.NumVertices = 4; // Draw quad + DrawAttrs.Flags = DRAW_FLAG_TRANSITION_VERTEX_BUFFERS; m_pDeviceContext->Draw( DrawAttrs ); SetStatus(TestResult::Succeeded); -- cgit v1.2.3