summaryrefslogtreecommitdiffstats
path: root/Graphics
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-02-23 06:24:09 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-02-23 06:24:09 +0000
commit038fa798e89c90f55efb7dacbf154f42d40058b7 (patch)
treeaec54a510e3f83f501a117a186556ee213bc6f77 /Graphics
parentUpdated readme: fixed broken links (diff)
downloadDiligentCore-038fa798e89c90f55efb7dacbf154f42d40058b7.tar.gz
DiligentCore-038fa798e89c90f55efb7dacbf154f42d40058b7.zip
Fixed interface headers to use relative paths in #include
Diffstat (limited to 'Graphics')
-rw-r--r--Graphics/GraphicsEngine/interface/BlendState.h2
-rw-r--r--Graphics/GraphicsEngine/interface/BufferView.h2
-rw-r--r--Graphics/GraphicsEngine/interface/Constants.h2
-rw-r--r--Graphics/GraphicsEngine/interface/DepthStencilState.h2
-rw-r--r--Graphics/GraphicsEngine/interface/DeviceContext.h2
-rw-r--r--Graphics/GraphicsEngine/interface/DeviceObject.h2
-rw-r--r--Graphics/GraphicsEngine/interface/GraphicsTypes.h2
-rw-r--r--Graphics/GraphicsEngine/interface/InputLayout.h2
-rw-r--r--Graphics/GraphicsEngine/interface/MapHelper.h5
-rw-r--r--Graphics/GraphicsEngine/interface/PipelineState.h4
-rw-r--r--Graphics/GraphicsEngine/interface/RasterizerState.h2
-rw-r--r--Graphics/GraphicsEngine/interface/RenderDevice.h2
-rw-r--r--Graphics/GraphicsEngine/interface/Shader.h2
-rw-r--r--Graphics/GraphicsEngine/interface/ShaderResourceBinding.h7
-rw-r--r--Graphics/GraphicsEngine/interface/SwapChain.h3
-rw-r--r--Graphics/GraphicsEngine/interface/TextureView.h2
-rw-r--r--Graphics/GraphicsEngineD3D11/interface/BufferD3D11.h2
-rw-r--r--Graphics/GraphicsEngineD3D11/interface/BufferViewD3D11.h2
-rw-r--r--Graphics/GraphicsEngineD3D11/interface/DeviceContextD3D11.h2
-rw-r--r--Graphics/GraphicsEngineD3D11/interface/EngineD3D11Attribs.h3
-rw-r--r--Graphics/GraphicsEngineD3D11/interface/PipelineStateD3D11.h2
-rw-r--r--Graphics/GraphicsEngineD3D11/interface/RenderDeviceD3D11.h2
-rw-r--r--Graphics/GraphicsEngineD3D11/interface/RenderDeviceFactoryD3D11.h14
-rw-r--r--Graphics/GraphicsEngineD3D11/interface/SamplerD3D11.h2
-rw-r--r--Graphics/GraphicsEngineD3D11/interface/ShaderD3D11.h2
-rw-r--r--Graphics/GraphicsEngineD3D11/interface/ShaderResourceBindingD3D11.h2
-rw-r--r--Graphics/GraphicsEngineD3D11/interface/SwapChainD3D11.h2
-rw-r--r--Graphics/GraphicsEngineD3D11/interface/TextureD3D11.h2
-rw-r--r--Graphics/GraphicsEngineD3D11/interface/TextureViewD3D11.h2
-rw-r--r--Graphics/GraphicsEngineD3D12/interface/BufferD3D12.h2
-rw-r--r--Graphics/GraphicsEngineD3D12/interface/BufferViewD3D12.h2
-rw-r--r--Graphics/GraphicsEngineD3D12/interface/DeviceContextD3D12.h2
-rw-r--r--Graphics/GraphicsEngineD3D12/interface/PipelineStateD3D12.h2
-rw-r--r--Graphics/GraphicsEngineD3D12/interface/RenderDeviceD3D12.h2
-rw-r--r--Graphics/GraphicsEngineD3D12/interface/RenderDeviceFactoryD3D12.h11
-rw-r--r--Graphics/GraphicsEngineD3D12/interface/SamplerD3D12.h2
-rw-r--r--Graphics/GraphicsEngineD3D12/interface/ShaderD3D12.h2
-rw-r--r--Graphics/GraphicsEngineD3D12/interface/ShaderResourceBindingD3D12.h2
-rw-r--r--Graphics/GraphicsEngineD3D12/interface/SwapChainD3D12.h3
-rw-r--r--Graphics/GraphicsEngineD3D12/interface/TextureD3D12.h2
-rw-r--r--Graphics/GraphicsEngineD3D12/interface/TextureViewD3D12.h2
-rw-r--r--Graphics/GraphicsEngineOpenGL/interface/BufferGL.h2
-rw-r--r--Graphics/GraphicsEngineOpenGL/interface/BufferViewGL.h2
-rw-r--r--Graphics/GraphicsEngineOpenGL/interface/DeviceContextGL.h2
-rw-r--r--Graphics/GraphicsEngineOpenGL/interface/EngineGLAttribs.h3
-rw-r--r--Graphics/GraphicsEngineOpenGL/interface/PipelineStateGL.h2
-rw-r--r--Graphics/GraphicsEngineOpenGL/interface/RenderDeviceFactoryOpenGL.h12
-rw-r--r--Graphics/GraphicsEngineOpenGL/interface/RenderDeviceGL.h3
-rw-r--r--Graphics/GraphicsEngineOpenGL/interface/SamplerGL.h2
-rw-r--r--Graphics/GraphicsEngineOpenGL/interface/ShaderGL.h2
-rw-r--r--Graphics/GraphicsEngineOpenGL/interface/ShaderResourceBindingGL.h2
-rw-r--r--Graphics/GraphicsEngineOpenGL/interface/SwapChainGL.h2
-rw-r--r--Graphics/GraphicsEngineOpenGL/interface/TextureGL.h2
-rw-r--r--Graphics/GraphicsEngineOpenGL/interface/TextureViewGL.h2
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp2
-rw-r--r--Graphics/HLSL2GLSLConverterLib/interface/HLSL2GLSLConverter.h4
56 files changed, 88 insertions, 72 deletions
diff --git a/Graphics/GraphicsEngine/interface/BlendState.h b/Graphics/GraphicsEngine/interface/BlendState.h
index b1cf1a97..b2c79a0c 100644
--- a/Graphics/GraphicsEngine/interface/BlendState.h
+++ b/Graphics/GraphicsEngine/interface/BlendState.h
@@ -26,7 +26,7 @@
/// \file
/// Blend state description
-#include "BasicTypes.h"
+#include "../../../Primitives/interface/BasicTypes.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngine/interface/BufferView.h b/Graphics/GraphicsEngine/interface/BufferView.h
index c137d264..767c8e4a 100644
--- a/Graphics/GraphicsEngine/interface/BufferView.h
+++ b/Graphics/GraphicsEngine/interface/BufferView.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IBufferView interface and related data structures
-#include "DeviceObject.h"
+#include "Buffer.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngine/interface/Constants.h b/Graphics/GraphicsEngine/interface/Constants.h
index e8d3c4c0..a04140d5 100644
--- a/Graphics/GraphicsEngine/interface/Constants.h
+++ b/Graphics/GraphicsEngine/interface/Constants.h
@@ -26,6 +26,8 @@
/// \file
/// Definition of the engine constants
+#include "../../../Primitives/interface/BasicTypes.h"
+
namespace Diligent
{
/// Maximum number of input buffer slots.
diff --git a/Graphics/GraphicsEngine/interface/DepthStencilState.h b/Graphics/GraphicsEngine/interface/DepthStencilState.h
index cf49d4e9..ec4b75ba 100644
--- a/Graphics/GraphicsEngine/interface/DepthStencilState.h
+++ b/Graphics/GraphicsEngine/interface/DepthStencilState.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of data types that describe depth-stencil state
-#include "BasicTypes.h"
+#include "GraphicsTypes.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngine/interface/DeviceContext.h b/Graphics/GraphicsEngine/interface/DeviceContext.h
index deb856fb..d0656418 100644
--- a/Graphics/GraphicsEngine/interface/DeviceContext.h
+++ b/Graphics/GraphicsEngine/interface/DeviceContext.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IDeviceContext interface and related data structures
-#include "Object.h"
+#include "../../../Primitives/interface/Object.h"
#include "DeviceCaps.h"
#include "Constants.h"
#include "Buffer.h"
diff --git a/Graphics/GraphicsEngine/interface/DeviceObject.h b/Graphics/GraphicsEngine/interface/DeviceObject.h
index ba1e472c..9b82a683 100644
--- a/Graphics/GraphicsEngine/interface/DeviceObject.h
+++ b/Graphics/GraphicsEngine/interface/DeviceObject.h
@@ -26,7 +26,7 @@
/// \file
/// Defines Diligent::IDeviceObject interface
-#include "Object.h"
+#include "../../../Primitives/interface/Object.h"
#include "GraphicsTypes.h"
namespace Diligent
diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h
index 35c2a27a..e742f927 100644
--- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h
+++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h
@@ -26,7 +26,7 @@
/// \file
/// Contains basic graphics engine type defintions
-#include "BasicTypes.h"
+#include "../../../Primitives/interface/BasicTypes.h"
/// Graphics engine namespace
namespace Diligent
diff --git a/Graphics/GraphicsEngine/interface/InputLayout.h b/Graphics/GraphicsEngine/interface/InputLayout.h
index 483e1c52..598cedd4 100644
--- a/Graphics/GraphicsEngine/interface/InputLayout.h
+++ b/Graphics/GraphicsEngine/interface/InputLayout.h
@@ -26,7 +26,7 @@
/// \file
/// Definition input layout
-#include "BasicTypes.h"
+#include "GraphicsTypes.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngine/interface/MapHelper.h b/Graphics/GraphicsEngine/interface/MapHelper.h
index 527421de..4032952f 100644
--- a/Graphics/GraphicsEngine/interface/MapHelper.h
+++ b/Graphics/GraphicsEngine/interface/MapHelper.h
@@ -26,7 +26,10 @@
/// \file
/// Definition of the Diligent::MapHelper helper template class
-#include "DebugUtilities.h"
+#include "../../../Platforms/Basic/interface/DebugUtilities.h"
+#include "../../../Common/interface/RefCntAutoPtr.h"
+#include "DeviceContext.h"
+#include "Buffer.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngine/interface/PipelineState.h b/Graphics/GraphicsEngine/interface/PipelineState.h
index 0fa55d1e..7e31b49a 100644
--- a/Graphics/GraphicsEngine/interface/PipelineState.h
+++ b/Graphics/GraphicsEngine/interface/PipelineState.h
@@ -26,14 +26,14 @@
/// \file
/// Definition of the Diligent::IRenderDevice interface and related data structures
+#include "../../../Primitives/interface/Object.h"
+#include "../../../Platforms/interface/PlatformDefinitions.h"
#include "GraphicsTypes.h"
-#include "Object.h"
#include "BlendState.h"
#include "RasterizerState.h"
#include "DepthStencilState.h"
#include "InputLayout.h"
#include "ShaderResourceBinding.h"
-#include "PlatformDefinitions.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngine/interface/RasterizerState.h b/Graphics/GraphicsEngine/interface/RasterizerState.h
index 9d46ba41..0e8d5299 100644
--- a/Graphics/GraphicsEngine/interface/RasterizerState.h
+++ b/Graphics/GraphicsEngine/interface/RasterizerState.h
@@ -26,7 +26,7 @@
/// \file
/// Rasterizer state description
-#include "BasicTypes.h"
+#include "GraphicsTypes.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngine/interface/RenderDevice.h b/Graphics/GraphicsEngine/interface/RenderDevice.h
index 07582031..f99a885a 100644
--- a/Graphics/GraphicsEngine/interface/RenderDevice.h
+++ b/Graphics/GraphicsEngine/interface/RenderDevice.h
@@ -26,8 +26,8 @@
/// \file
/// Definition of the Diligent::IRenderDevice interface and related data structures
+#include "../../../Primitives/interface/Object.h"
#include "GraphicsTypes.h"
-#include "Object.h"
#include "DeviceCaps.h"
#include "Constants.h"
#include "Buffer.h"
diff --git a/Graphics/GraphicsEngine/interface/Shader.h b/Graphics/GraphicsEngine/interface/Shader.h
index 956e14a6..15df194d 100644
--- a/Graphics/GraphicsEngine/interface/Shader.h
+++ b/Graphics/GraphicsEngine/interface/Shader.h
@@ -26,9 +26,9 @@
/// \file
/// Definition of the Diligent::IShader interface and related data structures
+#include "../../../Primitives/interface/FileStream.h"
#include "DeviceObject.h"
#include "ResourceMapping.h"
-#include "FileStream.h"
#include "Sampler.h"
namespace Diligent
diff --git a/Graphics/GraphicsEngine/interface/ShaderResourceBinding.h b/Graphics/GraphicsEngine/interface/ShaderResourceBinding.h
index 1b35bbb1..6e024311 100644
--- a/Graphics/GraphicsEngine/interface/ShaderResourceBinding.h
+++ b/Graphics/GraphicsEngine/interface/ShaderResourceBinding.h
@@ -26,11 +26,14 @@
/// \file
/// Definition of the Diligent::IShaderResourceBinding interface and related data structures
-#include "Object.h"
+#include "../../../Primitives/interface/Object.h"
+#include "Shader.h"
namespace Diligent
{
+class IPipelineState;
+
// {061F8774-9A09-48E8-8411-B5BD20560104}
static constexpr INTERFACE_ID IID_ShaderResourceBinding =
{ 0x61f8774, 0x9a09, 0x48e8, { 0x84, 0x11, 0xb5, 0xbd, 0x20, 0x56, 0x1, 0x4 } };
@@ -47,7 +50,7 @@ public:
/// The method calls AddRef() on the returned interface,
/// so Release() must be called to avoid memory leaks.
- virtual class IPipelineState* GetPipelineState() = 0;
+ virtual IPipelineState* GetPipelineState() = 0;
/// Binds all resource using the resource mapping
diff --git a/Graphics/GraphicsEngine/interface/SwapChain.h b/Graphics/GraphicsEngine/interface/SwapChain.h
index 5e14c63b..0cdde1ef 100644
--- a/Graphics/GraphicsEngine/interface/SwapChain.h
+++ b/Graphics/GraphicsEngine/interface/SwapChain.h
@@ -26,7 +26,8 @@
/// \file
/// Definition of the Diligent::ISwapChain interface and related data structures
-#include "Object.h"
+#include "../../../Primitives/interface/Object.h"
+#include "GraphicsTypes.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngine/interface/TextureView.h b/Graphics/GraphicsEngine/interface/TextureView.h
index dc383b1e..d85b4750 100644
--- a/Graphics/GraphicsEngine/interface/TextureView.h
+++ b/Graphics/GraphicsEngine/interface/TextureView.h
@@ -31,6 +31,8 @@
namespace Diligent
{
+class IDeviceContext;
+
// {5B2EA04E-8128-45E4-AA4D-6DC7E70DC424}
static constexpr INTERFACE_ID IID_TextureView =
{ 0x5b2ea04e, 0x8128, 0x45e4, { 0xaa, 0x4d, 0x6d, 0xc7, 0xe7, 0xd, 0xc4, 0x24 } };
diff --git a/Graphics/GraphicsEngineD3D11/interface/BufferD3D11.h b/Graphics/GraphicsEngineD3D11/interface/BufferD3D11.h
index 26189c78..78baed0c 100644
--- a/Graphics/GraphicsEngineD3D11/interface/BufferD3D11.h
+++ b/Graphics/GraphicsEngineD3D11/interface/BufferD3D11.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IBufferD3D11 interface
-#include "Buffer.h"
+#include "../../GraphicsEngine/interface/Buffer.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D11/interface/BufferViewD3D11.h b/Graphics/GraphicsEngineD3D11/interface/BufferViewD3D11.h
index e4df92c7..c78d6c5e 100644
--- a/Graphics/GraphicsEngineD3D11/interface/BufferViewD3D11.h
+++ b/Graphics/GraphicsEngineD3D11/interface/BufferViewD3D11.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IBufferViewD3D11 interface
-#include "BufferView.h"
+#include "../../GraphicsEngine/interface/BufferView.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D11/interface/DeviceContextD3D11.h b/Graphics/GraphicsEngineD3D11/interface/DeviceContextD3D11.h
index f6d4d74c..9c217693 100644
--- a/Graphics/GraphicsEngineD3D11/interface/DeviceContextD3D11.h
+++ b/Graphics/GraphicsEngineD3D11/interface/DeviceContextD3D11.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IDeviceContextD3D11 interface
-#include "DeviceContext.h"
+#include "../../GraphicsEngine/interface/DeviceContext.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D11/interface/EngineD3D11Attribs.h b/Graphics/GraphicsEngineD3D11/interface/EngineD3D11Attribs.h
index 9cc4ce8b..912cb474 100644
--- a/Graphics/GraphicsEngineD3D11/interface/EngineD3D11Attribs.h
+++ b/Graphics/GraphicsEngineD3D11/interface/EngineD3D11Attribs.h
@@ -26,8 +26,7 @@
/// \file
/// Definition of the Engine D3D11 attribs
-#include "BasicTypes.h"
-#include "GraphicsTypes.h"
+#include "../../GraphicsEngine/interface/GraphicsTypes.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D11/interface/PipelineStateD3D11.h b/Graphics/GraphicsEngineD3D11/interface/PipelineStateD3D11.h
index 0c76a0f5..3d9406b1 100644
--- a/Graphics/GraphicsEngineD3D11/interface/PipelineStateD3D11.h
+++ b/Graphics/GraphicsEngineD3D11/interface/PipelineStateD3D11.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IPipeplineStateD3D11 interface
-#include "PipelineState.h"
+#include "../../GraphicsEngine/interface/PipelineState.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D11/interface/RenderDeviceD3D11.h b/Graphics/GraphicsEngineD3D11/interface/RenderDeviceD3D11.h
index 25ed6de0..7998f6fd 100644
--- a/Graphics/GraphicsEngineD3D11/interface/RenderDeviceD3D11.h
+++ b/Graphics/GraphicsEngineD3D11/interface/RenderDeviceD3D11.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IRenderDeviceD3D11 interface
-#include "RenderDevice.h"
+#include "../../GraphicsEngine/interface/RenderDevice.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D11/interface/RenderDeviceFactoryD3D11.h b/Graphics/GraphicsEngineD3D11/interface/RenderDeviceFactoryD3D11.h
index 2f3cd4bf..3806ca1a 100644
--- a/Graphics/GraphicsEngineD3D11/interface/RenderDeviceFactoryD3D11.h
+++ b/Graphics/GraphicsEngineD3D11/interface/RenderDeviceFactoryD3D11.h
@@ -26,16 +26,18 @@
/// \file
/// Declaration of functions that initialize Direct3D11-based engine implementation
-#include "Errors.h"
-#include "EngineD3D11Attribs.h"
-#include "RenderDevice.h"
-#include "DeviceContext.h"
-#include "SwapChain.h"
+#include "../../../Platforms/Basic/interface/Errors.h"
+
+#include "../../GraphicsEngine/interface/RenderDevice.h"
+#include "../../GraphicsEngine/interface/DeviceContext.h"
+#include "../../GraphicsEngine/interface/SwapChain.h"
#if PLATFORM_UNIVERSAL_WINDOWS && defined(ENGINE_DLL)
-# include "StringTools.h"
+# include "../../../Common/interface/StringTools.h"
#endif
+#include "EngineD3D11Attribs.h"
+
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D11/interface/SamplerD3D11.h b/Graphics/GraphicsEngineD3D11/interface/SamplerD3D11.h
index 8ccb14d4..b4534910 100644
--- a/Graphics/GraphicsEngineD3D11/interface/SamplerD3D11.h
+++ b/Graphics/GraphicsEngineD3D11/interface/SamplerD3D11.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::ISamplerD3D11 interface
-#include "Sampler.h"
+#include "../../GraphicsEngine/interface/Sampler.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D11/interface/ShaderD3D11.h b/Graphics/GraphicsEngineD3D11/interface/ShaderD3D11.h
index 0017dc27..b75cdabf 100644
--- a/Graphics/GraphicsEngineD3D11/interface/ShaderD3D11.h
+++ b/Graphics/GraphicsEngineD3D11/interface/ShaderD3D11.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IShaderD3D11 interface
-#include "Shader.h"
+#include "../../GraphicsEngine/interface/Shader.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D11/interface/ShaderResourceBindingD3D11.h b/Graphics/GraphicsEngineD3D11/interface/ShaderResourceBindingD3D11.h
index 1d224546..85f2778f 100644
--- a/Graphics/GraphicsEngineD3D11/interface/ShaderResourceBindingD3D11.h
+++ b/Graphics/GraphicsEngineD3D11/interface/ShaderResourceBindingD3D11.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IShaderResourceBindingD3D11 interface and related data structures
-#include "ShaderResourceBinding.h"
+#include "../../GraphicsEngine/interface/ShaderResourceBinding.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D11/interface/SwapChainD3D11.h b/Graphics/GraphicsEngineD3D11/interface/SwapChainD3D11.h
index e49a6357..3d903ec0 100644
--- a/Graphics/GraphicsEngineD3D11/interface/SwapChainD3D11.h
+++ b/Graphics/GraphicsEngineD3D11/interface/SwapChainD3D11.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::ISwapChainD3D11 interface
-#include "SwapChain.h"
+#include "../../GraphicsEngine/interface/SwapChain.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D11/interface/TextureD3D11.h b/Graphics/GraphicsEngineD3D11/interface/TextureD3D11.h
index a5cb3b46..204774be 100644
--- a/Graphics/GraphicsEngineD3D11/interface/TextureD3D11.h
+++ b/Graphics/GraphicsEngineD3D11/interface/TextureD3D11.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::ITextureD3D11 interface
-#include "Texture.h"
+#include "../../GraphicsEngine/interface/Texture.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D11/interface/TextureViewD3D11.h b/Graphics/GraphicsEngineD3D11/interface/TextureViewD3D11.h
index 69b1b921..5f2085f7 100644
--- a/Graphics/GraphicsEngineD3D11/interface/TextureViewD3D11.h
+++ b/Graphics/GraphicsEngineD3D11/interface/TextureViewD3D11.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::ITextureViewD3D11 interface
-#include "TextureView.h"
+#include "../../GraphicsEngine/interface/TextureView.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D12/interface/BufferD3D12.h b/Graphics/GraphicsEngineD3D12/interface/BufferD3D12.h
index 3439923d..7ed44894 100644
--- a/Graphics/GraphicsEngineD3D12/interface/BufferD3D12.h
+++ b/Graphics/GraphicsEngineD3D12/interface/BufferD3D12.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IBufferD3D12 interface
-#include "Buffer.h"
+#include "../../GraphicsEngine/interface/Buffer.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D12/interface/BufferViewD3D12.h b/Graphics/GraphicsEngineD3D12/interface/BufferViewD3D12.h
index a82136d4..21cf3518 100644
--- a/Graphics/GraphicsEngineD3D12/interface/BufferViewD3D12.h
+++ b/Graphics/GraphicsEngineD3D12/interface/BufferViewD3D12.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IBufferViewD3D12 interface
-#include "BufferView.h"
+#include "../../GraphicsEngine/interface/BufferView.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D12/interface/DeviceContextD3D12.h b/Graphics/GraphicsEngineD3D12/interface/DeviceContextD3D12.h
index 833c2693..87c8c057 100644
--- a/Graphics/GraphicsEngineD3D12/interface/DeviceContextD3D12.h
+++ b/Graphics/GraphicsEngineD3D12/interface/DeviceContextD3D12.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IDeviceContextD3D11 interface
-#include "DeviceContext.h"
+#include "../../GraphicsEngine/interface/DeviceContext.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D12/interface/PipelineStateD3D12.h b/Graphics/GraphicsEngineD3D12/interface/PipelineStateD3D12.h
index e3e385b7..bbbc9636 100644
--- a/Graphics/GraphicsEngineD3D12/interface/PipelineStateD3D12.h
+++ b/Graphics/GraphicsEngineD3D12/interface/PipelineStateD3D12.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IPipeplineStateD3D12 interface
-#include "PipelineState.h"
+#include "../../GraphicsEngine/interface/PipelineState.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D12/interface/RenderDeviceD3D12.h b/Graphics/GraphicsEngineD3D12/interface/RenderDeviceD3D12.h
index 9f109af9..d4fb6513 100644
--- a/Graphics/GraphicsEngineD3D12/interface/RenderDeviceD3D12.h
+++ b/Graphics/GraphicsEngineD3D12/interface/RenderDeviceD3D12.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IRenderDeviceD3D12 interface
-#include "RenderDevice.h"
+#include "../../GraphicsEngine/interface/RenderDevice.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D12/interface/RenderDeviceFactoryD3D12.h b/Graphics/GraphicsEngineD3D12/interface/RenderDeviceFactoryD3D12.h
index 6f68bda0..a223060e 100644
--- a/Graphics/GraphicsEngineD3D12/interface/RenderDeviceFactoryD3D12.h
+++ b/Graphics/GraphicsEngineD3D12/interface/RenderDeviceFactoryD3D12.h
@@ -26,13 +26,14 @@
/// \file
/// Declaration of functions that initialize Direct3D12-based engine implementation
-#include "Errors.h"
-#include "RenderDevice.h"
-#include "DeviceContext.h"
-#include "SwapChain.h"
+#include "../../../Platforms/Basic/interface/Errors.h"
+
+#include "../../GraphicsEngine/interface/RenderDevice.h"
+#include "../../GraphicsEngine/interface/DeviceContext.h"
+#include "../../GraphicsEngine/interface/SwapChain.h"
#if PLATFORM_UNIVERSAL_WINDOWS && defined(ENGINE_DLL)
-# include "StringTools.h"
+# include "../../../Common/interface/StringTools.h"
#endif
namespace Diligent
diff --git a/Graphics/GraphicsEngineD3D12/interface/SamplerD3D12.h b/Graphics/GraphicsEngineD3D12/interface/SamplerD3D12.h
index 3e4e1de7..3c16b375 100644
--- a/Graphics/GraphicsEngineD3D12/interface/SamplerD3D12.h
+++ b/Graphics/GraphicsEngineD3D12/interface/SamplerD3D12.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::ISamplerD3D12 interface
-#include "Sampler.h"
+#include "../../GraphicsEngine/interface/Sampler.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D12/interface/ShaderD3D12.h b/Graphics/GraphicsEngineD3D12/interface/ShaderD3D12.h
index 439ee2a5..27841c89 100644
--- a/Graphics/GraphicsEngineD3D12/interface/ShaderD3D12.h
+++ b/Graphics/GraphicsEngineD3D12/interface/ShaderD3D12.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IShaderD3D12 interface
-#include "Shader.h"
+#include "../../GraphicsEngine/interface/Shader.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D12/interface/ShaderResourceBindingD3D12.h b/Graphics/GraphicsEngineD3D12/interface/ShaderResourceBindingD3D12.h
index ef559921..0a3043d4 100644
--- a/Graphics/GraphicsEngineD3D12/interface/ShaderResourceBindingD3D12.h
+++ b/Graphics/GraphicsEngineD3D12/interface/ShaderResourceBindingD3D12.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IShaderResourceBindingD3D12 interface and related data structures
-#include "ShaderResourceBinding.h"
+#include "../../GraphicsEngine/interface/ShaderResourceBinding.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D12/interface/SwapChainD3D12.h b/Graphics/GraphicsEngineD3D12/interface/SwapChainD3D12.h
index 3ac97989..d65478ef 100644
--- a/Graphics/GraphicsEngineD3D12/interface/SwapChainD3D12.h
+++ b/Graphics/GraphicsEngineD3D12/interface/SwapChainD3D12.h
@@ -27,7 +27,8 @@
/// Definition of the Diligent::ISwapChainD3D12 interface
#include <dxgi1_4.h>
-#include "SwapChain.h"
+
+#include "../../GraphicsEngine/interface/SwapChain.h"
#include "TextureViewD3D12.h"
namespace Diligent
diff --git a/Graphics/GraphicsEngineD3D12/interface/TextureD3D12.h b/Graphics/GraphicsEngineD3D12/interface/TextureD3D12.h
index 7f769c43..e569cc04 100644
--- a/Graphics/GraphicsEngineD3D12/interface/TextureD3D12.h
+++ b/Graphics/GraphicsEngineD3D12/interface/TextureD3D12.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::ITextureD3D12 interface
-#include "Texture.h"
+#include "../../GraphicsEngine/interface/Texture.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineD3D12/interface/TextureViewD3D12.h b/Graphics/GraphicsEngineD3D12/interface/TextureViewD3D12.h
index e34676f6..f259862c 100644
--- a/Graphics/GraphicsEngineD3D12/interface/TextureViewD3D12.h
+++ b/Graphics/GraphicsEngineD3D12/interface/TextureViewD3D12.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::ITextureViewD3D12 interface
-#include "TextureView.h"
+#include "../../GraphicsEngine/interface/TextureView.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineOpenGL/interface/BufferGL.h b/Graphics/GraphicsEngineOpenGL/interface/BufferGL.h
index ab47d940..4e179012 100644
--- a/Graphics/GraphicsEngineOpenGL/interface/BufferGL.h
+++ b/Graphics/GraphicsEngineOpenGL/interface/BufferGL.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IBufferGL interface
-#include "Buffer.h"
+#include "../../GraphicsEngine/interface/Buffer.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineOpenGL/interface/BufferViewGL.h b/Graphics/GraphicsEngineOpenGL/interface/BufferViewGL.h
index 1b3a246d..9c4ca28a 100644
--- a/Graphics/GraphicsEngineOpenGL/interface/BufferViewGL.h
+++ b/Graphics/GraphicsEngineOpenGL/interface/BufferViewGL.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IBufferViewGL interface
-#include "BufferView.h"
+#include "../../GraphicsEngine/interface/BufferView.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineOpenGL/interface/DeviceContextGL.h b/Graphics/GraphicsEngineOpenGL/interface/DeviceContextGL.h
index 4cedfd59..38089444 100644
--- a/Graphics/GraphicsEngineOpenGL/interface/DeviceContextGL.h
+++ b/Graphics/GraphicsEngineOpenGL/interface/DeviceContextGL.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IDeviceContextGL interface
-#include "DeviceContext.h"
+#include "../../GraphicsEngine/interface/DeviceContext.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineOpenGL/interface/EngineGLAttribs.h b/Graphics/GraphicsEngineOpenGL/interface/EngineGLAttribs.h
index bbb998bd..2c05adbf 100644
--- a/Graphics/GraphicsEngineOpenGL/interface/EngineGLAttribs.h
+++ b/Graphics/GraphicsEngineOpenGL/interface/EngineGLAttribs.h
@@ -26,8 +26,7 @@
/// \file
/// Definition of the Engine OpenGL/GLES attribs
-#include "BasicTypes.h"
-#include "GraphicsTypes.h"
+#include "../../GraphicsEngine/interface/GraphicsTypes.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineOpenGL/interface/PipelineStateGL.h b/Graphics/GraphicsEngineOpenGL/interface/PipelineStateGL.h
index 191fc6c9..0cff97df 100644
--- a/Graphics/GraphicsEngineOpenGL/interface/PipelineStateGL.h
+++ b/Graphics/GraphicsEngineOpenGL/interface/PipelineStateGL.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IPipelineStateGL interface
-#include "PipelineState.h"
+#include "../../GraphicsEngine/interface/PipelineState.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineOpenGL/interface/RenderDeviceFactoryOpenGL.h b/Graphics/GraphicsEngineOpenGL/interface/RenderDeviceFactoryOpenGL.h
index 77173bb3..32e5987e 100644
--- a/Graphics/GraphicsEngineOpenGL/interface/RenderDeviceFactoryOpenGL.h
+++ b/Graphics/GraphicsEngineOpenGL/interface/RenderDeviceFactoryOpenGL.h
@@ -26,10 +26,14 @@
/// \file
/// Declaration of functions that create OpenGL-based engine implementation
-#include "RenderDevice.h"
-#include "DeviceContext.h"
-#include "SwapChain.h"
-#include "HLSL2GLSLConverter.h"
+#include "../../../Platforms/Basic/interface/Errors.h"
+
+#include "../../GraphicsEngine/interface/RenderDevice.h"
+#include "../../GraphicsEngine/interface/DeviceContext.h"
+#include "../../GraphicsEngine/interface/SwapChain.h"
+
+#include "../../HLSL2GLSLConverterLib/interface/HLSL2GLSLConverter.h"
+
#include "EngineGLAttribs.h"
#if PLATFORM_WIN32 || PLATFORM_UNIVERSAL_WINDOWS
diff --git a/Graphics/GraphicsEngineOpenGL/interface/RenderDeviceGL.h b/Graphics/GraphicsEngineOpenGL/interface/RenderDeviceGL.h
index e3fd08ea..605d866f 100644
--- a/Graphics/GraphicsEngineOpenGL/interface/RenderDeviceGL.h
+++ b/Graphics/GraphicsEngineOpenGL/interface/RenderDeviceGL.h
@@ -26,8 +26,7 @@
/// \file
/// Definition of the Diligent::IRenderDeviceGL interface
-#include "RenderDevice.h"
-#include "HLSL2GLSLConverter.h"
+#include "../../GraphicsEngine/interface/RenderDevice.h"
/// Namespace for the OpenGL implementation of the graphics engine
namespace Diligent
diff --git a/Graphics/GraphicsEngineOpenGL/interface/SamplerGL.h b/Graphics/GraphicsEngineOpenGL/interface/SamplerGL.h
index 0ca9929f..485dc050 100644
--- a/Graphics/GraphicsEngineOpenGL/interface/SamplerGL.h
+++ b/Graphics/GraphicsEngineOpenGL/interface/SamplerGL.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::ISamplerGL interface
-#include "Sampler.h"
+#include "../../GraphicsEngine/interface/Sampler.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineOpenGL/interface/ShaderGL.h b/Graphics/GraphicsEngineOpenGL/interface/ShaderGL.h
index c2f7a072..d01c1f09 100644
--- a/Graphics/GraphicsEngineOpenGL/interface/ShaderGL.h
+++ b/Graphics/GraphicsEngineOpenGL/interface/ShaderGL.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IShaderGL interface
-#include "Shader.h"
+#include "../../GraphicsEngine/interface/Shader.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineOpenGL/interface/ShaderResourceBindingGL.h b/Graphics/GraphicsEngineOpenGL/interface/ShaderResourceBindingGL.h
index ef7c251d..7903d47c 100644
--- a/Graphics/GraphicsEngineOpenGL/interface/ShaderResourceBindingGL.h
+++ b/Graphics/GraphicsEngineOpenGL/interface/ShaderResourceBindingGL.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::IShaderResourceBindingD3D11 interface and related data structures
-#include "ShaderResourceBinding.h"
+#include "../../GraphicsEngine/interface/ShaderResourceBinding.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineOpenGL/interface/SwapChainGL.h b/Graphics/GraphicsEngineOpenGL/interface/SwapChainGL.h
index e9405899..4646b6f9 100644
--- a/Graphics/GraphicsEngineOpenGL/interface/SwapChainGL.h
+++ b/Graphics/GraphicsEngineOpenGL/interface/SwapChainGL.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::ISwapChainGL interface
-#include "SwapChain.h"
+#include "../../GraphicsEngine/interface/SwapChain.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineOpenGL/interface/TextureGL.h b/Graphics/GraphicsEngineOpenGL/interface/TextureGL.h
index 2e62f577..d769b62f 100644
--- a/Graphics/GraphicsEngineOpenGL/interface/TextureGL.h
+++ b/Graphics/GraphicsEngineOpenGL/interface/TextureGL.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::ITextureGL interface
-#include "Texture.h"
+#include "../../GraphicsEngine/interface/Texture.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineOpenGL/interface/TextureViewGL.h b/Graphics/GraphicsEngineOpenGL/interface/TextureViewGL.h
index ecd6a3f8..1805617c 100644
--- a/Graphics/GraphicsEngineOpenGL/interface/TextureViewGL.h
+++ b/Graphics/GraphicsEngineOpenGL/interface/TextureViewGL.h
@@ -26,7 +26,7 @@
/// \file
/// Definition of the Diligent::ITextureViewGL interface
-#include "TextureView.h"
+#include "../../GraphicsEngine/interface/TextureView.h"
namespace Diligent
{
diff --git a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp
index f30b43b3..cd691f1f 100644
--- a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp
+++ b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp
@@ -304,7 +304,7 @@ namespace Diligent
NumRenderTargets = std::min(NumRenderTargets, MaxRenderTargets);
const auto& CtxCaps = m_ContextState.GetContextCaps();
- VERIFY(NumRenderTargets < CtxCaps.m_iMaxDrawBuffers, "This device only supports ", CtxCaps.m_iMaxDrawBuffers, " draw buffers, but ", NumRenderTargets, " are being set");
+ VERIFY(NumRenderTargets < static_cast<Uint32>(CtxCaps.m_iMaxDrawBuffers), "This device only supports ", CtxCaps.m_iMaxDrawBuffers, " draw buffers, but ", NumRenderTargets, " are being set");
NumRenderTargets = std::min(NumRenderTargets, static_cast<Uint32>(CtxCaps.m_iMaxDrawBuffers));
ITextureView *pBoundRTVs[MaxRenderTargets] = {};
diff --git a/Graphics/HLSL2GLSLConverterLib/interface/HLSL2GLSLConverter.h b/Graphics/HLSL2GLSLConverterLib/interface/HLSL2GLSLConverter.h
index 0a0c532f..3b4d64c0 100644
--- a/Graphics/HLSL2GLSLConverterLib/interface/HLSL2GLSLConverter.h
+++ b/Graphics/HLSL2GLSLConverterLib/interface/HLSL2GLSLConverter.h
@@ -26,8 +26,8 @@
/// \file
/// Definition of the Diligent::IHLSL2GLSLConverter interface
-#include "Shader.h"
-#include "DataBlob.h"
+#include "../../GraphicsEngine/interface/Shader.h"
+#include "../../../Primitives/interface/DataBlob.h"
namespace Diligent
{