summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestPipelineStateBase.cpp
diff options
context:
space:
mode:
authorEgor <egor.yusov@gmail.com>2018-02-18 06:25:41 +0000
committerEgor <egor.yusov@gmail.com>2018-02-18 06:25:41 +0000
commit35665fe271cdbb2c641ef64eb36a02aacf98bb3d (patch)
treef67181bfb242a698e957cd6a8d8c9bf23d1583c9 /Tests/TestApp/src/TestPipelineStateBase.cpp
parentMoved common gradle build settings to android_common.gradle (diff)
downloadDiligentEngine-35665fe271cdbb2c641ef64eb36a02aacf98bb3d.tar.gz
DiligentEngine-35665fe271cdbb2c641ef64eb36a02aacf98bb3d.zip
Few minor updates to lua test scripts
Diffstat (limited to 'Tests/TestApp/src/TestPipelineStateBase.cpp')
-rw-r--r--Tests/TestApp/src/TestPipelineStateBase.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/Tests/TestApp/src/TestPipelineStateBase.cpp b/Tests/TestApp/src/TestPipelineStateBase.cpp
index f5479eb..b4c5041 100644
--- a/Tests/TestApp/src/TestPipelineStateBase.cpp
+++ b/Tests/TestApp/src/TestPipelineStateBase.cpp
@@ -30,14 +30,14 @@ using namespace Diligent;
static const char g_ShaderSource[] =
"void VSMain(out float4 pos : SV_POSITION) \n"
-"{ \n"
-" pos = float4(0,0,0,0); \n"
-"} \n"
-" \n"
-"void PSMain(out float4 col : SV_TARGET)\n"
-"{ \n"
-" col = float4(0,0,0,0); \n"
-"} \n"
+"{ \n"
+" pos = float4(0.0, 0.0, 0.0, 0.0); \n"
+"} \n"
+" \n"
+"void PSMain(out float4 col : SV_TARGET) \n"
+"{ \n"
+" col = float4(0.0, 0.0, 0.0, 0.0); \n"
+"} \n"
;
TestPipelineStateBase::TestPipelineStateBase(Diligent::IRenderDevice *pDevice, const char *Name) :
@@ -48,13 +48,13 @@ TestPipelineStateBase::TestPipelineStateBase(Diligent::IRenderDevice *pDevice, c
Attrs.Source = g_ShaderSource;
Attrs.EntryPoint = "VSMain";
Attrs.Desc.ShaderType = SHADER_TYPE_VERTEX;
- Attrs.Desc.Name = "TrivialVS";
+ Attrs.Desc.Name = "TrivialVS (TestPipelineStateBase)";
Attrs.SourceLanguage = SHADER_SOURCE_LANGUAGE_HLSL;
m_pDevice->CreateShader(Attrs, &m_pTrivialVS);
Attrs.EntryPoint = "PSMain";
Attrs.Desc.ShaderType = SHADER_TYPE_PIXEL;
- Attrs.Desc.Name = "TrivialPS";
+ Attrs.Desc.Name = "TrivialPS (TestPipelineStateBase)";
m_pDevice->CreateShader(Attrs, &m_pTrivialPS);
m_PSODesc.GraphicsPipeline.pVS = m_pTrivialVS;