summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorlucy96chen <47800040+lucy96chen@users.noreply.github.com>2022-08-04 16:59:28 -0700
committerGitHub <noreply@github.com>2022-08-04 16:59:28 -0700
commit12a846e8facf090aaeb68fcabf55867f5eaed747 (patch)
treecc7c70c447200c1b45f20efc47e43e17828ec84d /build
parent11b29eff99910d55a54658b8a1d053cc4ec076fc (diff)
Split debug-layer into smaller files (#2344)
* checkpoint commit * debug-layer split, does not compile * Almost compiles, rebasing before making any further changes * everything compiles and passes tests locally * Added tools/gfx/debug-layer to premake and ran premake Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'build')
-rw-r--r--build/visual-studio/gfx/gfx.vcxproj39
-rw-r--r--build/visual-studio/gfx/gfx.vcxproj.filters109
2 files changed, 144 insertions, 4 deletions
diff --git a/build/visual-studio/gfx/gfx.vcxproj b/build/visual-studio/gfx/gfx.vcxproj
index 18cc24f13..e08630f11 100644
--- a/build/visual-studio/gfx/gfx.vcxproj
+++ b/build/visual-studio/gfx/gfx.vcxproj
@@ -371,7 +371,27 @@
<ClInclude Include="..\..\..\tools\gfx\d3d12\d3d12-texture.h" />
<ClInclude Include="..\..\..\tools\gfx\d3d12\d3d12-transient-heap.h" />
<ClInclude Include="..\..\..\tools\gfx\d3d12\d3d12-vertex-layout.h" />
- <ClInclude Include="..\..\..\tools\gfx\debug-layer.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-base.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-buffer.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-command-buffer.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-command-encoder.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-command-queue.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-device.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-fence.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-framebuffer.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-helper-functions.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-pipeline-state.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-query.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-render-pass.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-resource-views.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-sampler-state.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-shader-object.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-shader-program.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-shader-table.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-swap-chain.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-texture.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-transient-heap.h" />
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-vertex-layout.h" />
<ClInclude Include="..\..\..\tools\gfx\flag-combiner.h" />
<ClInclude Include="..\..\..\tools\gfx\immediate-renderer-base.h" />
<ClInclude Include="..\..\..\tools\gfx\mutable-shader-object.h" />
@@ -468,7 +488,22 @@
<ClCompile Include="..\..\..\tools\gfx\d3d12\d3d12-swap-chain.cpp" />
<ClCompile Include="..\..\..\tools\gfx\d3d12\d3d12-texture.cpp" />
<ClCompile Include="..\..\..\tools\gfx\d3d12\d3d12-transient-heap.cpp" />
- <ClCompile Include="..\..\..\tools\gfx\debug-layer.cpp" />
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-buffer.cpp" />
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-command-buffer.cpp" />
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-command-encoder.cpp" />
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-command-queue.cpp" />
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-device.cpp" />
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-fence.cpp" />
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-helper-functions.cpp" />
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-pipeline-state.cpp" />
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-query.cpp" />
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-resource-views.cpp" />
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-sampler-state.cpp" />
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-shader-object.cpp" />
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-shader-program.cpp" />
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-swap-chain.cpp" />
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-texture.cpp" />
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-transient-heap.cpp" />
<ClCompile Include="..\..\..\tools\gfx\flag-combiner.cpp" />
<ClCompile Include="..\..\..\tools\gfx\immediate-renderer-base.cpp" />
<ClCompile Include="..\..\..\tools\gfx\nvapi\nvapi-util.cpp" />
diff --git a/build/visual-studio/gfx/gfx.vcxproj.filters b/build/visual-studio/gfx/gfx.vcxproj.filters
index 2017ff04b..b0fde63c7 100644
--- a/build/visual-studio/gfx/gfx.vcxproj.filters
+++ b/build/visual-studio/gfx/gfx.vcxproj.filters
@@ -225,7 +225,67 @@
<ClInclude Include="..\..\..\tools\gfx\d3d12\d3d12-vertex-layout.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="..\..\..\tools\gfx\debug-layer.h">
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-base.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-buffer.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-command-buffer.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-command-encoder.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-command-queue.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-device.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-fence.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-framebuffer.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-helper-functions.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-pipeline-state.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-query.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-render-pass.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-resource-views.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-sampler-state.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-shader-object.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-shader-program.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-shader-table.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-swap-chain.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-texture.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-transient-heap.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\debug-layer\debug-vertex-layout.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\tools\gfx\flag-combiner.h">
@@ -512,7 +572,52 @@
<ClCompile Include="..\..\..\tools\gfx\d3d12\d3d12-transient-heap.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\..\tools\gfx\debug-layer.cpp">
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-buffer.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-command-buffer.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-command-encoder.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-command-queue.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-device.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-fence.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-helper-functions.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-pipeline-state.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-query.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-resource-views.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-sampler-state.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-shader-object.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-shader-program.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-swap-chain.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-texture.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\tools\gfx\debug-layer\debug-transient-heap.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\tools\gfx\flag-combiner.cpp">