diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-03-05 07:35:34 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-03-05 07:35:34 +0000 |
| commit | 3261ad7e4e805bbe47682c51bef615b129cba95c (patch) | |
| tree | 53aad988c370d047c4f101e9e81bb80d9b992499 /Tests/TestApp/src/TestShaderResourceLayout.cpp | |
| parent | Updated projects to conform to the update engine factory API (diff) | |
| download | DiligentEngine-3261ad7e4e805bbe47682c51bef615b129cba95c.tar.gz DiligentEngine-3261ad7e4e805bbe47682c51bef615b129cba95c.zip | |
Updates to comply with addition of ShaderFlags to IPipelineState::BindStaticResources
Diffstat (limited to 'Tests/TestApp/src/TestShaderResourceLayout.cpp')
| -rw-r--r-- | Tests/TestApp/src/TestShaderResourceLayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/TestApp/src/TestShaderResourceLayout.cpp b/Tests/TestApp/src/TestShaderResourceLayout.cpp index 2578f40..b77467a 100644 --- a/Tests/TestApp/src/TestShaderResourceLayout.cpp +++ b/Tests/TestApp/src/TestShaderResourceLayout.cpp @@ -325,7 +325,7 @@ TestShaderResourceLayout::TestShaderResourceLayout( IRenderDevice *pDevice, IDev } } - pTestPSO->BindStaticResources(pResMapping, BIND_SHADER_RESOURCES_KEEP_EXISTING | BIND_SHADER_RESOURCES_VERIFY_ALL_RESOLVED | BIND_SHADER_RESOURCES_UPDATE_STATIC); + pTestPSO->BindStaticResources(SHADER_TYPE_VERTEX | SHADER_TYPE_PIXEL, pResMapping, BIND_SHADER_RESOURCES_KEEP_EXISTING | BIND_SHADER_RESOURCES_VERIFY_ALL_RESOLVED | BIND_SHADER_RESOURCES_UPDATE_STATIC); RefCntAutoPtr<IShaderResourceBinding> pSRB; pTestPSO->CreateShaderResourceBinding(&pSRB, true); |
