summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestShaderResourceLayout.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-11-24 19:15:28 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-11-24 19:15:28 +0000
commit82198dc5b8284382d27d5f6776fb2531b805a83e (patch)
tree6734be86fdf30c87a7d244e13133bc2bcf7452d2 /Tests/TestApp/src/TestShaderResourceLayout.cpp
parentUpdated core (fixed state transiton issue in D3D11) (diff)
downloadDiligentEngine-82198dc5b8284382d27d5f6776fb2531b805a83e.tar.gz
DiligentEngine-82198dc5b8284382d27d5f6776fb2531b805a83e.zip
Added explicit control over resource transitions in draw command
Added explicit static resource binding initialization in SRB objects
Diffstat (limited to 'Tests/TestApp/src/TestShaderResourceLayout.cpp')
-rw-r--r--Tests/TestApp/src/TestShaderResourceLayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/TestApp/src/TestShaderResourceLayout.cpp b/Tests/TestApp/src/TestShaderResourceLayout.cpp
index a92c4e7..51ebeac 100644
--- a/Tests/TestApp/src/TestShaderResourceLayout.cpp
+++ b/Tests/TestApp/src/TestShaderResourceLayout.cpp
@@ -321,7 +321,7 @@ TestShaderResourceLayout::TestShaderResourceLayout( IRenderDevice *pDevice, IDev
VERIFY_EXPR(pTestPSO);
RefCntAutoPtr<IShaderResourceBinding> pSRB;
- pTestPSO->CreateShaderResourceBinding(&pSRB);
+ pTestPSO->CreateShaderResourceBinding(&pSRB, true);
pSRB->GetVariable(SHADER_TYPE_VERTEX, "UniformBuff_Stat");
pSRB->GetVariable(SHADER_TYPE_PIXEL, "g_sepTex2DArr_static");