diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-10-30 21:54:48 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-10-30 21:54:48 +0000 |
| commit | 9a8133811d75501ae3d6e4a5c58f821fb38f8e5d (patch) | |
| tree | 73aad6f7f683f0658a27c4cf294fc186f4ac407c /Graphics/GraphicsEngineVulkan | |
| parent | Merge branch 'master' (diff) | |
| download | DiligentCore-9a8133811d75501ae3d6e4a5c58f821fb38f8e5d.tar.gz DiligentCore-9a8133811d75501ae3d6e4a5c58f821fb38f8e5d.zip | |
Fixed clang compiler warning
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/src/ShaderResourceLayoutVk.cpp | 4 |
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()} { } |
