diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-02-19 01:55:51 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-02-19 01:55:51 +0000 |
| commit | fb415324592e0762f455ebdf88b6963eae41b1ca (patch) | |
| tree | e27383bd267609e3b2717e4115940da6b0b20428 /Tests/TestApp/src/TestDrawCommands.cpp | |
| parent | Updated samples (disabled multiViewport vk device feature) (diff) | |
| download | DiligentEngine-fb415324592e0762f455ebdf88b6963eae41b1ca.tar.gz DiligentEngine-fb415324592e0762f455ebdf88b6963eae41b1ca.zip | |
Updated input layout element to use explicit AutoOffset and AutoStride
Diffstat (limited to 'Tests/TestApp/src/TestDrawCommands.cpp')
| -rw-r--r-- | Tests/TestApp/src/TestDrawCommands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/TestApp/src/TestDrawCommands.cpp b/Tests/TestApp/src/TestDrawCommands.cpp index a0a4c24..c2f9ed8 100644 --- a/Tests/TestApp/src/TestDrawCommands.cpp +++ b/Tests/TestApp/src/TestDrawCommands.cpp @@ -227,7 +227,7 @@ void TestDrawCommands::Init( IRenderDevice *pDevice, IDeviceContext *pDeviceCont { LayoutElement{ 0, 0, 3, VT_FLOAT32, false, 0 }, LayoutElement{ 1, 0, 3, VT_FLOAT32, false, sizeof( float ) * 3 }, - LayoutElement{ 2, 1, 2, VT_FLOAT32, false, 0, 0, LayoutElement::FREQUENCY_PER_INSTANCE } + LayoutElement{ 2, 1, 2, VT_FLOAT32, false, LayoutElement::AutoOffset, LayoutElement::AutoStride, LayoutElement::FREQUENCY_PER_INSTANCE } }; PSODesc.GraphicsPipeline.InputLayout.LayoutElements = Elems; PSODesc.GraphicsPipeline.InputLayout.NumElements = _countof( Elems ); |
