From 1ba5e887490e747fd783dde32a9fbe9d7fe0413d Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Wed, 6 Mar 2019 10:09:16 -0800 Subject: Updated core & samples --- DiligentCore | 2 +- DiligentSamples | 2 +- Tests/TestApp/src/TestDrawCommands.cpp | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DiligentCore b/DiligentCore index c87e69d..76a1a90 160000 --- a/DiligentCore +++ b/DiligentCore @@ -1 +1 @@ -Subproject commit c87e69d08937a012ed00d9c5395b942a8f6de9b1 +Subproject commit 76a1a90ee26e3f2e78fab018bbbfc43ddc85d849 diff --git a/DiligentSamples b/DiligentSamples index a52d906..0560ac9 160000 --- a/DiligentSamples +++ b/DiligentSamples @@ -1 +1 @@ -Subproject commit a52d906f6a00f744831c633118bb6ebf4201b467 +Subproject commit 0560ac9ebbc7ad38c7c6741777fbaf4a60d2a9e0 diff --git a/Tests/TestApp/src/TestDrawCommands.cpp b/Tests/TestApp/src/TestDrawCommands.cpp index b05a166..662c24a 100644 --- a/Tests/TestApp/src/TestDrawCommands.cpp +++ b/Tests/TestApp/src/TestDrawCommands.cpp @@ -258,6 +258,7 @@ void TestDrawCommands::Init( IRenderDevice *pDevice, IDeviceContext *pDeviceCont m_pPSO->BindStaticResources(SHADER_TYPE_VERTEX | SHADER_TYPE_PIXEL, m_pResMapping, BIND_SHADER_RESOURCES_VERIFY_ALL_RESOLVED); m_pPSOInst->BindStaticResources(SHADER_TYPE_VERTEX | SHADER_TYPE_PIXEL, m_pResMapping, BIND_SHADER_RESOURCES_VERIFY_ALL_RESOLVED | BIND_SHADER_RESOURCES_UPDATE_STATIC); + m_pPSO_2xStride->BindStaticResources(SHADER_TYPE_VERTEX | SHADER_TYPE_PIXEL, m_pResMapping, BIND_SHADER_RESOURCES_VERIFY_ALL_RESOLVED | BIND_SHADER_RESOURCES_UPDATE_STATIC); m_pPSO->CreateShaderResourceBinding(&m_pSRB, true); m_pPSOInst->CreateShaderResourceBinding(&m_pSRBInst, true); } -- cgit v1.2.3