renderstatenotation-include-diligentcore.diff 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. diff --git a/RenderStateNotation/include/RenderStateNotationLoaderImpl.hpp b/RenderStateNotation/include/RenderStateNotationLoaderImpl.hpp
  2. index d9636c3..ff6233a 100644
  3. --- a/RenderStateNotation/include/RenderStateNotationLoaderImpl.hpp
  4. +++ b/RenderStateNotation/include/RenderStateNotationLoaderImpl.hpp
  5. @@ -29,10 +29,10 @@
  6. #include <unordered_map>
  7. #include "RenderStateNotationLoader.h"
  8. -#include "RefCntAutoPtr.hpp"
  9. -#include "ObjectBase.hpp"
  10. -#include "HashUtils.hpp"
  11. -#include "RenderStateCache.hpp"
  12. +#include "DiligentCore/Common/interface/RefCntAutoPtr.hpp"
  13. +#include "DiligentCore/Common/interface/ObjectBase.hpp"
  14. +#include "DiligentCore/Common/interface/HashUtils.hpp"
  15. +#include "DiligentCore/Graphics/GraphicsTools/interface/RenderStateCache.hpp"
  16. namespace Diligent
  17. {
  18. diff --git a/RenderStateNotation/include/RenderStateNotationParserImpl.hpp b/RenderStateNotation/include/RenderStateNotationParserImpl.hpp
  19. index 92294b2..b748bc0 100644
  20. --- a/RenderStateNotation/include/RenderStateNotationParserImpl.hpp
  21. +++ b/RenderStateNotation/include/RenderStateNotationParserImpl.hpp
  22. @@ -30,10 +30,10 @@
  23. #include <unordered_set>
  24. #include "RenderStateNotationParser.h"
  25. -#include "RefCntAutoPtr.hpp"
  26. -#include "ObjectBase.hpp"
  27. -#include "DynamicLinearAllocator.hpp"
  28. -#include "HashUtils.hpp"
  29. +#include "DiligentCore/Common/interface/RefCntAutoPtr.hpp"
  30. +#include "DiligentCore/Common/interface/ObjectBase.hpp"
  31. +#include "DiligentCore/Common/interface/DynamicLinearAllocator.hpp"
  32. +#include "DiligentCore/Common/interface/HashUtils.hpp"
  33. namespace Diligent
  34. {
  35. diff --git a/RenderStateNotation/include/pch.h b/RenderStateNotation/include/pch.h
  36. index 2da62b8..23eb430 100644
  37. --- a/RenderStateNotation/include/pch.h
  38. +++ b/RenderStateNotation/include/pch.h
  39. @@ -26,12 +26,12 @@
  40. #pragma once
  41. -#include "json.hpp"
  42. +#include "nlohmann/json.hpp"
  43. -#include "BasicMath.hpp"
  44. -#include "RenderDevice.h"
  45. -#include "DynamicLinearAllocator.hpp"
  46. -#include "StringTools.hpp"
  47. +#include "DiligentCore/Common/interface/BasicMath.hpp"
  48. +#include "DiligentCore/Graphics/GraphicsEngine/interface/RenderDevice.h"
  49. +#include "DiligentCore/Common/interface/DynamicLinearAllocator.hpp"
  50. +#include "DiligentCore/Common/interface/StringTools.hpp"
  51. #include "generated/CommonParser.hpp"
  52. #include "generated/GraphicsTypesParser.hpp"
  53. diff --git a/RenderStateNotation/interface/RenderStateNotationLoader.h b/RenderStateNotation/interface/RenderStateNotationLoader.h
  54. index a53f741..e8aefe7 100644
  55. --- a/RenderStateNotation/interface/RenderStateNotationLoader.h
  56. +++ b/RenderStateNotation/interface/RenderStateNotationLoader.h
  57. @@ -31,12 +31,12 @@
  58. /// \file
  59. /// Defines Diligent::IRenderStateNotationLoader interface
  60. #include "RenderStateNotationParser.h"
  61. -#include "../../../DiligentCore/Graphics/GraphicsTools/interface/RenderStateCache.h"
  62. +#include "DiligentCore/Graphics/GraphicsTools/interface/RenderStateCache.h"
  63. DILIGENT_BEGIN_NAMESPACE(Diligent)
  64. -#include "../../../DiligentCore/Primitives/interface/DefineRefMacro.h"
  65. +#include "DiligentCore/Primitives/interface/DefineRefMacro.h"
  66. /// Render state notation loader initialization info.
  67. struct RenderStateNotationLoaderCreateInfo
  68. @@ -196,13 +196,13 @@ typedef struct LoadPipelineStateInfo LoadPipelineStateInfo;
  69. // clang-format on
  70. -#include "../../../DiligentCore/Primitives/interface/UndefRefMacro.h"
  71. +#include "DiligentCore/Primitives/interface/UndefRefMacro.h"
  72. // {FD9B12C5-3BC5-4729-A2B4-924DF374B3D3}
  73. static DILIGENT_CONSTEXPR INTERFACE_ID IID_RenderStateNotationLoader = {0xFD9B12C5, 0x3BC5, 0x4729, {0xA2, 0xB4, 0x92, 0x4D, 0xF3, 0x74, 0xB3, 0xD3}};
  74. #define DILIGENT_INTERFACE_NAME IRenderStateNotationLoader
  75. -#include "../../../DiligentCore/Primitives/interface/DefineInterfaceHelperMacros.h"
  76. +#include "DiligentCore/Primitives/interface/DefineInterfaceHelperMacros.h"
  77. #define IRenderStateNotationLoaderInclusiveMethods \
  78. IObjectInclusiveMethods; \
  79. @@ -269,7 +269,7 @@ DILIGENT_BEGIN_INTERFACE(IRenderStateNotationLoader, IObject)
  80. };
  81. DILIGENT_END_INTERFACE
  82. -#include "../../../DiligentCore/Primitives/interface/UndefInterfaceHelperMacros.h"
  83. +#include "DiligentCore/Primitives/interface/UndefInterfaceHelperMacros.h"
  84. #if DILIGENT_C_INTERFACE
  85. @@ -283,11 +283,11 @@ DILIGENT_END_INTERFACE
  86. #endif
  87. -#include "../../../DiligentCore/Primitives/interface/DefineGlobalFuncHelperMacros.h"
  88. +#include "DiligentCore/Primitives/interface/DefineGlobalFuncHelperMacros.h"
  89. void DILIGENT_GLOBAL_FUNCTION(CreateRenderStateNotationLoader)(const RenderStateNotationLoaderCreateInfo REF CreateInfo,
  90. IRenderStateNotationLoader** ppLoader);
  91. -#include "../../../DiligentCore/Primitives/interface/UndefGlobalFuncHelperMacros.h"
  92. +#include "DiligentCore/Primitives/interface/UndefGlobalFuncHelperMacros.h"
  93. DILIGENT_END_NAMESPACE // namespace Diligent
  94. diff --git a/RenderStateNotation/interface/RenderStateNotationParser.h b/RenderStateNotation/interface/RenderStateNotationParser.h
  95. index c6a887d..59c418b 100644
  96. --- a/RenderStateNotation/interface/RenderStateNotationParser.h
  97. +++ b/RenderStateNotation/interface/RenderStateNotationParser.h
  98. @@ -30,7 +30,7 @@
  99. /// \file
  100. /// Defines Diligent::IRenderStateNotationParser interface
  101. -#include "../../../DiligentCore/Graphics/GraphicsEngine/interface/RenderDevice.h"
  102. +#include "DiligentCore/Graphics/GraphicsEngine/interface/RenderDevice.h"
  103. DILIGENT_BEGIN_NAMESPACE(Diligent)
  104. @@ -392,7 +392,7 @@ typedef struct RenderStateNotationParserCreateInfo RenderStateNotationParserCrea
  105. static DILIGENT_CONSTEXPR INTERFACE_ID IID_RenderStateNotationParser = {0x355AC9F7, 0x5D9D, 0x423D, {0xAE, 0x35, 0x80, 0xE0, 0x02, 0x8D, 0xE1, 0x7E}};
  106. #define DILIGENT_INTERFACE_NAME IRenderStateNotationParser
  107. -#include "../../../DiligentCore/Primitives/interface/DefineInterfaceHelperMacros.h"
  108. +#include "DiligentCore/Primitives/interface/DefineInterfaceHelperMacros.h"
  109. #define IRenderStateNotationParserInclusiveMethods \
  110. IObjectInclusiveMethods; \
  111. @@ -555,7 +555,7 @@ DILIGENT_BEGIN_INTERFACE(IRenderStateNotationParser, IObject)
  112. };
  113. DILIGENT_END_INTERFACE
  114. -#include "../../../DiligentCore/Primitives/interface/UndefInterfaceHelperMacros.h"
  115. +#include "DiligentCore/Primitives/interface/UndefInterfaceHelperMacros.h"
  116. #if DILIGENT_C_INTERFACE
  117. @@ -577,12 +577,12 @@ DILIGENT_END_INTERFACE
  118. #endif
  119. -#include "../../../DiligentCore/Primitives/interface/DefineGlobalFuncHelperMacros.h"
  120. +#include "DiligentCore/Primitives/interface/DefineGlobalFuncHelperMacros.h"
  121. void DILIGENT_GLOBAL_FUNCTION(CreateRenderStateNotationParser)(const RenderStateNotationParserCreateInfo REF CreateInfo,
  122. IRenderStateNotationParser** pParser);
  123. -#include "../../../DiligentCore/Primitives/interface/UndefGlobalFuncHelperMacros.h"
  124. +#include "DiligentCore/Primitives/interface/UndefGlobalFuncHelperMacros.h"
  125. DILIGENT_END_NAMESPACE // namespace Diligent
  126. diff --git a/RenderStateNotation/src/RenderStateNotationLoaderImpl.cpp b/RenderStateNotation/src/RenderStateNotationLoaderImpl.cpp
  127. index 00dbb73..5961798 100644
  128. --- a/RenderStateNotation/src/RenderStateNotationLoaderImpl.cpp
  129. +++ b/RenderStateNotation/src/RenderStateNotationLoaderImpl.cpp
  130. @@ -25,9 +25,9 @@
  131. */
  132. #include "RenderStateNotationLoaderImpl.hpp"
  133. -#include "DefaultRawMemoryAllocator.hpp"
  134. -#include "CallbackWrapper.hpp"
  135. -#include "DynamicLinearAllocator.hpp"
  136. +#include "DiligentCore/Common/interface/DefaultRawMemoryAllocator.hpp"
  137. +#include "DiligentCore/Common/interface/CallbackWrapper.hpp"
  138. +#include "DiligentCore/Common/interface/DynamicLinearAllocator.hpp"
  139. namespace Diligent
  140. {
  141. diff --git a/RenderStateNotation/src/RenderStateNotationParserImpl.cpp b/RenderStateNotation/src/RenderStateNotationParserImpl.cpp
  142. index 22775b5..49e6045 100644
  143. --- a/RenderStateNotation/src/RenderStateNotationParserImpl.cpp
  144. +++ b/RenderStateNotation/src/RenderStateNotationParserImpl.cpp
  145. @@ -32,10 +32,10 @@
  146. #include <functional>
  147. #include <array>
  148. -#include "DataBlobImpl.hpp"
  149. -#include "FileWrapper.hpp"
  150. -#include "DefaultRawMemoryAllocator.hpp"
  151. -#include "GraphicsAccessories.hpp"
  152. +#include "DiligentCore/Common/interface/DataBlobImpl.hpp"
  153. +#include "DiligentCore/Common/interface/FileWrapper.hpp"
  154. +#include "DiligentCore/Common/interface/DefaultRawMemoryAllocator.hpp"
  155. +#include "DiligentCore/Graphics/GraphicsAccessories/interface/GraphicsAccessories.hpp"
  156. namespace Diligent
  157. {