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/TestShaderResourceLayout.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/TestShaderResourceLayout.cpp')
| -rw-r--r-- | Tests/TestApp/src/TestShaderResourceLayout.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/TestApp/src/TestShaderResourceLayout.cpp b/Tests/TestApp/src/TestShaderResourceLayout.cpp index 51ebeac..2ac150b 100644 --- a/Tests/TestApp/src/TestShaderResourceLayout.cpp +++ b/Tests/TestApp/src/TestShaderResourceLayout.cpp @@ -393,6 +393,7 @@ TestShaderResourceLayout::TestShaderResourceLayout( IRenderDevice *pDevice, IDev pContext->CommitShaderResources(pSRB, COMMIT_SHADER_RESOURCES_FLAG_TRANSITION_RESOURCES); DrawAttribs DrawAttrs; + DrawAttrs.Flags = DRAW_FLAG_VERIFY_STATES; DrawAttrs.NumVertices = 3; pContext->Draw(DrawAttrs); |
