summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestApp.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-08-22 14:40:27 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-08-22 14:40:27 +0000
commitf19443a40478482154b783950c0780485d699b7c (patch)
tree9089e89657afb49240feb503949b1aefd2d2dbd6 /Tests/TestApp/src/TestApp.cpp
parentUpdated core submodule (diff)
downloadDiligentEngine-f19443a40478482154b783950c0780485d699b7c.tar.gz
DiligentEngine-f19443a40478482154b783950c0780485d699b7c.zip
Updated core (implemented shader variable access by index)
Diffstat (limited to 'Tests/TestApp/src/TestApp.cpp')
-rw-r--r--Tests/TestApp/src/TestApp.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/Tests/TestApp/src/TestApp.cpp b/Tests/TestApp/src/TestApp.cpp
index 5e51e79..784fca1 100644
--- a/Tests/TestApp/src/TestApp.cpp
+++ b/Tests/TestApp/src/TestApp.cpp
@@ -272,29 +272,29 @@ void TestApp::InitializeDiligentEngine(
void TestApp::InitializeRenderers()
{
- TestRasterizerState TestRS(m_pDevice, m_pImmediateContext);
- TestBlendState TestBS(m_pDevice, m_pImmediateContext);
- TestDepthStencilState TestDSS(m_pDevice, m_pImmediateContext);
- TestBufferCreation TestBuffCreation(m_pDevice, m_pImmediateContext);
- TestTextureCreation TestTexCreation(m_pDevice, m_pImmediateContext);
- TestPSOCompatibility TestPSOCompat(m_pDevice);
- TestBrokenShader TestBrknShdr(m_pDevice);
+ TestRasterizerState TestRS{m_pDevice, m_pImmediateContext};
+ TestBlendState TestBS{m_pDevice, m_pImmediateContext};
+ TestDepthStencilState TestDSS{m_pDevice, m_pImmediateContext};
+ TestBufferCreation TestBuffCreation{m_pDevice, m_pImmediateContext};
+ TestTextureCreation TestTexCreation{m_pDevice, m_pImmediateContext};
+ TestPSOCompatibility TestPSOCompat{m_pDevice};
+ TestBrokenShader TestBrknShdr{m_pDevice};
m_TestGS.Init(m_pDevice, m_pImmediateContext, m_pSwapChain);
m_TestTessellation.Init(m_pDevice, m_pImmediateContext, m_pSwapChain);
m_pTestShaderResArrays.reset(new TestShaderResArrays(m_pDevice, m_pImmediateContext, m_pSwapChain, 0.4f, -0.9f, 0.5f, 0.5f));
m_pMTResCreationTest.reset(new MTResourceCreationTest(m_pDevice, m_pImmediateContext, 7));
- TestShaderVarAccess TestShaderVarAccess(m_pDevice, m_pImmediateContext, m_pSwapChain);
- TestShaderResourceLayout TestShaderResLayout(m_pDevice, m_pImmediateContext);
+ TestShaderVarAccess TestShaderVarAccess{m_pDevice, m_pImmediateContext, m_pSwapChain};
+ TestShaderResourceLayout TestShaderResLayout{m_pDevice, m_pImmediateContext};
#if GL_SUPPORTED || GLES_SUPPORTED || VULKAN_SUPPORTED
- ShaderConverterTest ConverterTest(m_pDevice, m_pImmediateContext);
+ ShaderConverterTest ConverterTest{m_pDevice, m_pImmediateContext};
#endif
- TestSamplerCreation TestSamplers(m_pDevice);
+ TestSamplerCreation TestSamplers{m_pDevice};
- RenderScriptTest LuaTest(m_pDevice, m_pImmediateContext);
+ RenderScriptTest LuaTest{m_pDevice, m_pImmediateContext};
const auto* BackBufferFmt = m_pDevice->GetTextureFormatInfo(m_pSwapChain->GetDesc().ColorBufferFormat).Name;
const auto* DepthBufferFmt = m_pDevice->GetTextureFormatInfo(m_pSwapChain->GetDesc().DepthBufferFormat).Name;