summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestShaderResArrays.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-11-21 18:01:10 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-11-21 18:01:10 +0000
commit41e5a5404dd18c748a8355c0796d5e53f793c3b9 (patch)
tree58af8fabc3132d1edce8248ae5f5eaf53bbd6f42 /Tests/TestApp/src/TestShaderResArrays.cpp
parentFixed release history (diff)
downloadDiligentEngine-41e5a5404dd18c748a8355c0796d5e53f793c3b9.tar.gz
DiligentEngine-41e5a5404dd18c748a8355c0796d5e53f793c3b9.zip
Implemented explicit resource state transitions
Diffstat (limited to 'Tests/TestApp/src/TestShaderResArrays.cpp')
-rw-r--r--Tests/TestApp/src/TestShaderResArrays.cpp1
1 files changed, 1 insertions, 0 deletions
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);