summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-04-24 00:17:43 -0700
committerGitHub <noreply@github.com>2021-04-24 00:17:43 -0700
commit9a5672d7b8a155117a2c3f8375e3b8a5b43d91b7 (patch)
tree9be3ea214ea735e41e8fdaef9824e84212a30cbb /build
parent697017e6fae8c252638abc298ec1556de2e41314 (diff)
Remove resource `Usage` from `gfx` interface. (#1813)
* Fix `model-viewer` crash when using Vulkan. Fixing an issue in shader object layout creation for to make sure a correct descriptor set layout is calculated for types that need an implicit constant buffer. * Fix formatting. * Fixes. * Fix memory leak in vulkan. * Remove resource `Usage` from `gfx` interface.
Diffstat (limited to 'build')
-rw-r--r--build/visual-studio/gfx/gfx.vcxproj2
-rw-r--r--build/visual-studio/gfx/gfx.vcxproj.filters6
2 files changed, 8 insertions, 0 deletions
diff --git a/build/visual-studio/gfx/gfx.vcxproj b/build/visual-studio/gfx/gfx.vcxproj
index 2bf81058f..313125919 100644
--- a/build/visual-studio/gfx/gfx.vcxproj
+++ b/build/visual-studio/gfx/gfx.vcxproj
@@ -195,6 +195,7 @@
<ClInclude Include="..\..\..\tools\gfx\nvapi\nvapi-util.h" />
<ClInclude Include="..\..\..\tools\gfx\open-gl\render-gl.h" />
<ClInclude Include="..\..\..\tools\gfx\renderer-shared.h" />
+ <ClInclude Include="..\..\..\tools\gfx\resource-desc-utils.h" />
<ClInclude Include="..\..\..\tools\gfx\simple-render-pass-layout.h" />
<ClInclude Include="..\..\..\tools\gfx\simple-transient-resource-heap.h" />
<ClInclude Include="..\..\..\tools\gfx\slang-context.h" />
@@ -221,6 +222,7 @@
<ClCompile Include="..\..\..\tools\gfx\open-gl\render-gl.cpp" />
<ClCompile Include="..\..\..\tools\gfx\render.cpp" />
<ClCompile Include="..\..\..\tools\gfx\renderer-shared.cpp" />
+ <ClCompile Include="..\..\..\tools\gfx\resource-desc-utils.cpp" />
<ClCompile Include="..\..\..\tools\gfx\simple-render-pass-layout.cpp" />
<ClCompile Include="..\..\..\tools\gfx\vulkan\render-vk.cpp" />
<ClCompile Include="..\..\..\tools\gfx\vulkan\vk-api.cpp" />
diff --git a/build/visual-studio/gfx/gfx.vcxproj.filters b/build/visual-studio/gfx/gfx.vcxproj.filters
index 4b79d826d..9065b785f 100644
--- a/build/visual-studio/gfx/gfx.vcxproj.filters
+++ b/build/visual-studio/gfx/gfx.vcxproj.filters
@@ -57,6 +57,9 @@
<ClInclude Include="..\..\..\tools\gfx\renderer-shared.h">
<Filter>Header Files</Filter>
</ClInclude>
+ <ClInclude Include="..\..\..\tools\gfx\resource-desc-utils.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
<ClInclude Include="..\..\..\tools\gfx\simple-render-pass-layout.h">
<Filter>Header Files</Filter>
</ClInclude>
@@ -131,6 +134,9 @@
<ClCompile Include="..\..\..\tools\gfx\renderer-shared.cpp">
<Filter>Source Files</Filter>
</ClCompile>
+ <ClCompile Include="..\..\..\tools\gfx\resource-desc-utils.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
<ClCompile Include="..\..\..\tools\gfx\simple-render-pass-layout.cpp">
<Filter>Source Files</Filter>
</ClCompile>