diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-11-27 17:18:23 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-11-27 17:18:23 +0000 |
| commit | 03bfb1db2b31a35b110435600311dac124c6373d (patch) | |
| tree | 9527a454e52d270a17edaa711e13b0727bca91ad /Tests/TestApp/src/TestTessellation.cpp | |
| parent | Updated core (diff) | |
| download | DiligentEngine-03bfb1db2b31a35b110435600311dac124c6373d.tar.gz DiligentEngine-03bfb1db2b31a35b110435600311dac124c6373d.zip | |
Updated submodules (added DRAW_FLAG_VERIFY_STATES & DISPATCH_FLAG_VERIFY_STATE flags)
Diffstat (limited to 'Tests/TestApp/src/TestTessellation.cpp')
| -rw-r--r-- | Tests/TestApp/src/TestTessellation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/TestApp/src/TestTessellation.cpp b/Tests/TestApp/src/TestTessellation.cpp index fe06c41..c4a4706 100644 --- a/Tests/TestApp/src/TestTessellation.cpp +++ b/Tests/TestApp/src/TestTessellation.cpp @@ -135,6 +135,7 @@ void TestTessellation::Draw() m_pDeviceContext->CommitShaderResources(nullptr, COMMIT_SHADER_RESOURCES_FLAG_TRANSITION_RESOURCES); Diligent::DrawAttribs DrawAttrs; + DrawAttrs.Flags = DRAW_FLAG_VERIFY_STATES; DrawAttrs.NumVertices = 2; // Draw 2 quad patches m_pDeviceContext->Draw(DrawAttrs); |
