diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2021-03-17 12:55:30 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-17 12:55:30 -0700 |
| commit | 6e5d85efb9fa5f647f7f0c7ef784a9fd09b29023 (patch) | |
| tree | 6206ef11502a1a5d9c1dc00df359be9aececffdf /build/visual-studio | |
| parent | b64a23cccfe9876d53cda773afc796bd975fa7e5 (diff) | |
Remove old code paths from render-test (#1760)
* Remove old code paths from render-test
Historically, the `render-test` tool was using three different code paths:
* One based on `gfx` and manual (non-reflection-based) parameter setting, used for OpenGL, D3D11, D3D12, and Vulkan
* One for CPU that used reflection-based parameter setting but shared no code with the first
* One for CUDA that used reflection-based parameter setting and shared some, but not all, code with the CPU path
Recently we've updated `render-test` to include a fourth option:
* Using `gfx` and the "shader object" system it exposes for a unified reflection-based parameter-setting system taht works across OpenGL, D3D11, D3D12, Vulkan, CUDA, and CPU
This change removes the first three options and leaves only the single unified path. A sa result, a bunch of code in `render-test` is no longer needed, and the codebase no longer relies on things like the `IDescriptorSet`-related APIs in `gfx`.
Several existing tests had to be disabled to make this change possible. Those tests will need to be audited and either re-enabled once we fix issues in the shader object system, or permanently removed if they don't test stuff we intend to support in the long run (e.g., global-scope type parameters, which aren't a clear necessity).
* fixup: CUDA detection logic
Diffstat (limited to 'build/visual-studio')
| -rw-r--r-- | build/visual-studio/render-test-tool/render-test-tool.vcxproj | 4 | ||||
| -rw-r--r-- | build/visual-studio/render-test-tool/render-test-tool.vcxproj.filters | 12 |
2 files changed, 0 insertions, 16 deletions
diff --git a/build/visual-studio/render-test-tool/render-test-tool.vcxproj b/build/visual-studio/render-test-tool/render-test-tool.vcxproj index 8cca49a83..1c913b878 100644 --- a/build/visual-studio/render-test-tool/render-test-tool.vcxproj +++ b/build/visual-studio/render-test-tool/render-test-tool.vcxproj @@ -179,8 +179,6 @@ </PostBuildEvent> </ItemDefinitionGroup> <ItemGroup> - <ClInclude Include="..\..\..\tools\render-test\bind-location.h" /> - <ClInclude Include="..\..\..\tools\render-test\cpu-compute-util.h" /> <ClInclude Include="..\..\..\tools\render-test\options.h" /> <ClInclude Include="..\..\..\tools\render-test\png-serialize-util.h" /> <ClInclude Include="..\..\..\tools\render-test\shader-input-layout.h" /> @@ -188,8 +186,6 @@ <ClInclude Include="..\..\..\tools\render-test\slang-support.h" /> </ItemGroup> <ItemGroup> - <ClCompile Include="..\..\..\tools\render-test\bind-location.cpp" /> - <ClCompile Include="..\..\..\tools\render-test\cpu-compute-util.cpp" /> <ClCompile Include="..\..\..\tools\render-test\options.cpp" /> <ClCompile Include="..\..\..\tools\render-test\png-serialize-util.cpp" /> <ClCompile Include="..\..\..\tools\render-test\render-test-main.cpp" /> diff --git a/build/visual-studio/render-test-tool/render-test-tool.vcxproj.filters b/build/visual-studio/render-test-tool/render-test-tool.vcxproj.filters index cfbfa390e..cef2cd3b7 100644 --- a/build/visual-studio/render-test-tool/render-test-tool.vcxproj.filters +++ b/build/visual-studio/render-test-tool/render-test-tool.vcxproj.filters @@ -9,12 +9,6 @@ </Filter> </ItemGroup> <ItemGroup> - <ClInclude Include="..\..\..\tools\render-test\bind-location.h"> - <Filter>Header Files</Filter> - </ClInclude> - <ClInclude Include="..\..\..\tools\render-test\cpu-compute-util.h"> - <Filter>Header Files</Filter> - </ClInclude> <ClInclude Include="..\..\..\tools\render-test\options.h"> <Filter>Header Files</Filter> </ClInclude> @@ -32,12 +26,6 @@ </ClInclude> </ItemGroup> <ItemGroup> - <ClCompile Include="..\..\..\tools\render-test\bind-location.cpp"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="..\..\..\tools\render-test\cpu-compute-util.cpp"> - <Filter>Source Files</Filter> - </ClCompile> <ClCompile Include="..\..\..\tools\render-test\options.cpp"> <Filter>Source Files</Filter> </ClCompile> |
