From 82198dc5b8284382d27d5f6776fb2531b805a83e Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sat, 24 Nov 2018 11:15:28 -0800 Subject: Added explicit control over resource transitions in draw command Added explicit static resource binding initialization in SRB objects --- Tests/TestApp/src/TestShaderResourceLayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tests/TestApp/src/TestShaderResourceLayout.cpp') 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 pSRB; - pTestPSO->CreateShaderResourceBinding(&pSRB); + pTestPSO->CreateShaderResourceBinding(&pSRB, true); pSRB->GetVariable(SHADER_TYPE_VERTEX, "UniformBuff_Stat"); pSRB->GetVariable(SHADER_TYPE_PIXEL, "g_sepTex2DArr_static"); -- cgit v1.2.3