summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/RenderScriptTest.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-03-02 04:55:44 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-03-02 04:55:44 +0000
commitdd7847d9e2b0729799d3e953f7872719e6ab70c0 (patch)
tree6aac246e73f61a29c6d5638d862cf698f5ae1a84 /Tests/TestApp/src/RenderScriptTest.cpp
parentUpdated Core, FX & Samples submodules (diff)
downloadDiligentEngine-dd7847d9e2b0729799d3e953f7872719e6ab70c0.tar.gz
DiligentEngine-dd7847d9e2b0729799d3e953f7872719e6ab70c0.zip
Updated test to compy with the new API
Diffstat (limited to 'Tests/TestApp/src/RenderScriptTest.cpp')
-rw-r--r--Tests/TestApp/src/RenderScriptTest.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/Tests/TestApp/src/RenderScriptTest.cpp b/Tests/TestApp/src/RenderScriptTest.cpp
index 4d8175e..977fff2 100644
--- a/Tests/TestApp/src/RenderScriptTest.cpp
+++ b/Tests/TestApp/src/RenderScriptTest.cpp
@@ -412,13 +412,13 @@ RenderScriptTest::RenderScriptTest( IRenderDevice *pRenderDevice, IDeviceContext
pScript->Run( "TestBufferViewArg", pBuffUAV );
}
- {
- RefCntAutoPtr<IShaderVariable> pShaderVar;
- pScript->GetShaderVariableByName( "svTestBlock", &pShaderVar );
- assert( pShaderVar );
-
- pScript->SetGlobalVariable( "svTestBlock", pShaderVar );
- pScript->Run( "TestShaderVariable", pShaderVar );
- }
+ //{
+ // RefCntAutoPtr<IShaderResourceVariable> pShaderVar;
+ // pScript->GetShaderVariableByName( "svTestBlock", &pShaderVar );
+ // assert( pShaderVar );
+
+ // pScript->SetGlobalVariable( "svTestBlock", pShaderVar );
+ // pScript->Run( "TestShaderVariable", pShaderVar );
+ //}
SetStatus(TestResult::Succeeded);
}