summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-03-06 17:18:00 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-03-06 17:18:00 +0000
commit7d70b24758eb5d843f5d491ca305878f002b1a3a (patch)
tree37fedf6a9a661c171eb69762817363de0e5069f9 /Graphics/GraphicsEngine
parentUpdated Shader resource binding GL implementation (diff)
downloadDiligentCore-7d70b24758eb5d843f5d491ca305878f002b1a3a.tar.gz
DiligentCore-7d70b24758eb5d843f5d491ca305878f002b1a3a.zip
Fixed clang compiler warnings
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/Buffer.h2
-rw-r--r--Graphics/GraphicsEngine/interface/BufferView.h2
-rw-r--r--Graphics/GraphicsEngine/interface/Fence.h2
-rw-r--r--Graphics/GraphicsEngine/interface/PipelineState.h2
-rw-r--r--Graphics/GraphicsEngine/interface/Sampler.h2
-rw-r--r--Graphics/GraphicsEngine/interface/Shader.h2
-rw-r--r--Graphics/GraphicsEngine/interface/Texture.h2
-rw-r--r--Graphics/GraphicsEngine/interface/TextureView.h2
8 files changed, 8 insertions, 8 deletions
diff --git a/Graphics/GraphicsEngine/interface/Buffer.h b/Graphics/GraphicsEngine/interface/Buffer.h
index 7729df8d..d57b8f08 100644
--- a/Graphics/GraphicsEngine/interface/Buffer.h
+++ b/Graphics/GraphicsEngine/interface/Buffer.h
@@ -174,7 +174,7 @@ public:
virtual void QueryInterface(const INTERFACE_ID& IID, IObject** ppInterface) = 0;
/// Returns the buffer description used to create the object
- virtual const BufferDesc& GetDesc()const = 0;
+ virtual const BufferDesc& GetDesc()const override = 0;
/// Creates a new buffer view
diff --git a/Graphics/GraphicsEngine/interface/BufferView.h b/Graphics/GraphicsEngine/interface/BufferView.h
index d1a43ea2..2361a329 100644
--- a/Graphics/GraphicsEngine/interface/BufferView.h
+++ b/Graphics/GraphicsEngine/interface/BufferView.h
@@ -141,7 +141,7 @@ public:
virtual void QueryInterface(const INTERFACE_ID& IID, IObject** ppInterface)override = 0;
/// Returns the buffer view description used to create the object
- virtual const BufferViewDesc& GetDesc()const = 0;
+ virtual const BufferViewDesc& GetDesc()const override = 0;
/// Returns pointer to the referenced buffer object.
diff --git a/Graphics/GraphicsEngine/interface/Fence.h b/Graphics/GraphicsEngine/interface/Fence.h
index bdecd369..7a7ee8c5 100644
--- a/Graphics/GraphicsEngine/interface/Fence.h
+++ b/Graphics/GraphicsEngine/interface/Fence.h
@@ -51,7 +51,7 @@ public:
virtual void QueryInterface(const INTERFACE_ID& IID, IObject** ppInterface)override = 0;
/// Returns the fence description used to create the object
- virtual const FenceDesc& GetDesc()const = 0;
+ virtual const FenceDesc& GetDesc()const override = 0;
/// Returns the last completed value signaled by the GPU
virtual Uint64 GetCompletedValue() = 0;
diff --git a/Graphics/GraphicsEngine/interface/PipelineState.h b/Graphics/GraphicsEngine/interface/PipelineState.h
index f562a2cd..3b749f60 100644
--- a/Graphics/GraphicsEngine/interface/PipelineState.h
+++ b/Graphics/GraphicsEngine/interface/PipelineState.h
@@ -246,7 +246,7 @@ public:
/// Returns the blend state description used to create the object
- virtual const PipelineStateDesc& GetDesc()const = 0;
+ virtual const PipelineStateDesc& GetDesc()const override = 0;
/// Binds resources for all shaders in the pipeline state
diff --git a/Graphics/GraphicsEngine/interface/Sampler.h b/Graphics/GraphicsEngine/interface/Sampler.h
index 2ad99605..cee595c5 100644
--- a/Graphics/GraphicsEngine/interface/Sampler.h
+++ b/Graphics/GraphicsEngine/interface/Sampler.h
@@ -173,7 +173,7 @@ public:
virtual void QueryInterface(const INTERFACE_ID& IID, IObject** ppInterface)override = 0;
/// Returns the sampler description used to create the object
- virtual const SamplerDesc& GetDesc()const = 0;
+ virtual const SamplerDesc& GetDesc()const override = 0;
};
}
diff --git a/Graphics/GraphicsEngine/interface/Shader.h b/Graphics/GraphicsEngine/interface/Shader.h
index efd4acb1..c993bf4a 100644
--- a/Graphics/GraphicsEngine/interface/Shader.h
+++ b/Graphics/GraphicsEngine/interface/Shader.h
@@ -235,7 +235,7 @@ public:
virtual void QueryInterface(const INTERFACE_ID& IID, IObject** ppInterface)override = 0;
/// Returns the shader description
- virtual const ShaderDesc& GetDesc()const = 0;
+ virtual const ShaderDesc& GetDesc()const override = 0;
/// Returns the total number of shader resources
virtual Uint32 GetResourceCount()const = 0;
diff --git a/Graphics/GraphicsEngine/interface/Texture.h b/Graphics/GraphicsEngine/interface/Texture.h
index 0b3cedbc..273e8f95 100644
--- a/Graphics/GraphicsEngine/interface/Texture.h
+++ b/Graphics/GraphicsEngine/interface/Texture.h
@@ -276,7 +276,7 @@ public:
virtual void QueryInterface(const INTERFACE_ID& IID, IObject** ppInterface)override = 0;
/// Returns the texture description used to create the object
- virtual const TextureDesc& GetDesc()const = 0;
+ virtual const TextureDesc& GetDesc()const override = 0;
/// Creates a new texture view
diff --git a/Graphics/GraphicsEngine/interface/TextureView.h b/Graphics/GraphicsEngine/interface/TextureView.h
index a1e2b439..dc03314f 100644
--- a/Graphics/GraphicsEngine/interface/TextureView.h
+++ b/Graphics/GraphicsEngine/interface/TextureView.h
@@ -166,7 +166,7 @@ public:
virtual void QueryInterface(const INTERFACE_ID& IID, IObject** ppInterface)override = 0;
/// Returns the texture view description used to create the object
- virtual const TextureViewDesc& GetDesc()const = 0;
+ virtual const TextureViewDesc& GetDesc()const override = 0;
/// Sets the texture sampler to use for filtering operations
/// when accessing a texture from shaders. Only