summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestShaderVarAccess.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/TestShaderVarAccess.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/TestShaderVarAccess.cpp')
-rw-r--r--Tests/TestApp/src/TestShaderVarAccess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/TestApp/src/TestShaderVarAccess.cpp b/Tests/TestApp/src/TestShaderVarAccess.cpp
index 1c33b03..22e9b9b 100644
--- a/Tests/TestApp/src/TestShaderVarAccess.cpp
+++ b/Tests/TestApp/src/TestShaderVarAccess.cpp
@@ -363,7 +363,7 @@ TestShaderVarAccess::TestShaderVarAccess( IRenderDevice *pDevice, IDeviceContext
VERIFY_EXPR(pTestPSO);
RefCntAutoPtr<IShaderResourceBinding> pSRB;
- pTestPSO->CreateShaderResourceBinding(&pSRB);
+ pTestPSO->CreateShaderResourceBinding(&pSRB, true);
{
auto tex2D_Mut = pSRB->GetVariable(SHADER_TYPE_VERTEX, "g_tex2D_Mut");