summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/include/ShaderResourceVariableBase.hpp3
-rw-r--r--Graphics/GraphicsEngine/interface/Shader.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngine/include/ShaderResourceVariableBase.hpp b/Graphics/GraphicsEngine/include/ShaderResourceVariableBase.hpp
index 5648e39d..f82f18cf 100644
--- a/Graphics/GraphicsEngine/include/ShaderResourceVariableBase.hpp
+++ b/Graphics/GraphicsEngine/include/ShaderResourceVariableBase.hpp
@@ -32,6 +32,7 @@
#include <vector>
+#include "Atomics.hpp"
#include "ShaderResourceVariable.h"
#include "PipelineState.h"
#include "StringTools.hpp"
@@ -340,7 +341,7 @@ template <typename ResourceLayoutType,
struct ShaderVariableBase : public ResourceVariableBaseInterface
{
ShaderVariableBase(ResourceLayoutType& ParentResLayout) :
- m_ParentResLayout(ParentResLayout)
+ m_ParentResLayout{ParentResLayout}
{
}
diff --git a/Graphics/GraphicsEngine/interface/Shader.h b/Graphics/GraphicsEngine/interface/Shader.h
index e004f7f1..dce77a82 100644
--- a/Graphics/GraphicsEngine/interface/Shader.h
+++ b/Graphics/GraphicsEngine/interface/Shader.h
@@ -346,7 +346,9 @@ DILIGENT_TYPED_ENUM(SHADER_RESOURCE_TYPE, Uint8)
SHADER_RESOURCE_TYPE_SAMPLER,
/// Input attachment in a render pass
- SHADER_RESOURCE_TYPE_INPUT_ATTACHMENT
+ SHADER_RESOURCE_TYPE_INPUT_ATTACHMENT,
+
+ SHADER_RESOURCE_TYPE_LAST = SHADER_RESOURCE_TYPE_INPUT_ATTACHMENT
};
// clang-format on