summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-10-30 21:54:48 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-10-30 21:54:48 +0000
commit9a8133811d75501ae3d6e4a5c58f821fb38f8e5d (patch)
tree73aad6f7f683f0658a27c4cf294fc186f4ac407c /Graphics/GraphicsEngineVulkan
parentMerge branch 'master' (diff)
downloadDiligentCore-9a8133811d75501ae3d6e4a5c58f821fb38f8e5d.tar.gz
DiligentCore-9a8133811d75501ae3d6e4a5c58f821fb38f8e5d.zip
Fixed clang compiler warning
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/src/ShaderResourceLayoutVk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/ShaderResourceLayoutVk.cpp b/Graphics/GraphicsEngineVulkan/src/ShaderResourceLayoutVk.cpp
index 45ed73de..f1e8b726 100644
--- a/Graphics/GraphicsEngineVulkan/src/ShaderResourceLayoutVk.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/ShaderResourceLayoutVk.cpp
@@ -97,8 +97,8 @@ static SHADER_RESOURCE_VARIABLE_TYPE FindShaderVariableType(SHADER_TYPE
ShaderResourceLayoutVk::ShaderStageInfo::ShaderStageInfo(SHADER_TYPE Stage, const ShaderVkImpl* pShader) :
Type{Stage},
- Shaders{{pShader}},
- SPIRVs{{{pShader->GetSPIRV()}}}
+ Shaders{pShader},
+ SPIRVs{pShader->GetSPIRV()}
{
}