summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestSeparateTextureSampler.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-12-03 01:42:16 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-12-03 01:42:16 +0000
commit017f5133606d1e9c433048a8e50b9648fff2b81f (patch)
tree2bda8756ff59b53852a587c6133df3d7347f9f29 /Tests/TestApp/src/TestSeparateTextureSampler.cpp
parentFixed linux build error (diff)
downloadDiligentEngine-017f5133606d1e9c433048a8e50b9648fff2b81f.tar.gz
DiligentEngine-017f5133606d1e9c433048a8e50b9648fff2b81f.zip
Replaced COMMIT_SHADER_RESOURCES_FLAGS with RESOURCE_STATE_TRANSITION_MODE
Diffstat (limited to 'Tests/TestApp/src/TestSeparateTextureSampler.cpp')
-rw-r--r--Tests/TestApp/src/TestSeparateTextureSampler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/TestApp/src/TestSeparateTextureSampler.cpp b/Tests/TestApp/src/TestSeparateTextureSampler.cpp
index a39e80b..1bf1306 100644
--- a/Tests/TestApp/src/TestSeparateTextureSampler.cpp
+++ b/Tests/TestApp/src/TestSeparateTextureSampler.cpp
@@ -155,7 +155,7 @@ TestSeparateTextureSampler::TestSeparateTextureSampler(IRenderDevice *pDevice, I
float Zero[4] = {};
pContext->ClearRenderTarget(pRTV[0], Zero, RESOURCE_STATE_TRANSITION_MODE_VERIFY);
pContext->SetPipelineState(pPSO);
- pContext->CommitShaderResources(pSRB, COMMIT_SHADER_RESOURCES_FLAG_TRANSITION_RESOURCES);
+ pContext->CommitShaderResources(pSRB, RESOURCE_STATE_TRANSITION_MODE_TRANSITION);
DrawAttribs DrawAttrs;
DrawAttrs.Flags = DRAW_FLAG_VERIFY_STATES;
DrawAttrs.NumVertices = 3;