From b9b398d038b524f15a86ff27cd6888d54e8754e0 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 22 Sep 2021 10:06:59 -0700 Subject: Add gfx unit testing framework. (#1943) * Add gfx unit testing framework. * Fix compilation error. * Reset gfxDebugCallback after render_test. * Pass enabledApi flags through. * Fix for code review suggestions. Co-authored-by: Yong He --- .../gfx-test-tool/gfx-test-tool.vcxproj | 197 +++++++++++++++++++++ .../gfx-test-tool/gfx-test-tool.vcxproj.filters | 35 ++++ 2 files changed, 232 insertions(+) create mode 100644 build/visual-studio/gfx-test-tool/gfx-test-tool.vcxproj create mode 100644 build/visual-studio/gfx-test-tool/gfx-test-tool.vcxproj.filters (limited to 'build/visual-studio') diff --git a/build/visual-studio/gfx-test-tool/gfx-test-tool.vcxproj b/build/visual-studio/gfx-test-tool/gfx-test-tool.vcxproj new file mode 100644 index 000000000..ee8887538 --- /dev/null +++ b/build/visual-studio/gfx-test-tool/gfx-test-tool.vcxproj @@ -0,0 +1,197 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {092DAB9F-1DA5-4538-ADD7-1A8D1DBFD519} + true + Win32Proj + gfx-test-tool + + + + DynamicLibrary + true + Unicode + v142 + + + DynamicLibrary + true + Unicode + v142 + + + DynamicLibrary + false + Unicode + v142 + + + DynamicLibrary + false + Unicode + v142 + + + + + + + + + + + + + + + + + + + true + ..\..\..\bin\windows-x86\debug\ + ..\..\..\intermediate\windows-x86\debug\gfx-test-tool\ + gfx-test-tool + .dll + + + true + ..\..\..\bin\windows-x64\debug\ + ..\..\..\intermediate\windows-x64\debug\gfx-test-tool\ + gfx-test-tool + .dll + + + false + ..\..\..\bin\windows-x86\release\ + ..\..\..\intermediate\windows-x86\release\gfx-test-tool\ + gfx-test-tool + .dll + + + false + ..\..\..\bin\windows-x64\release\ + ..\..\..\intermediate\windows-x64\release\gfx-test-tool\ + gfx-test-tool + .dll + + + + NotUsing + Level3 + _DEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + ..\..\..;%(AdditionalIncludeDirectories) + EditAndContinue + Disabled + MultiThreadedDebug + + + Windows + true + ..\..\..\bin\windows-x86\debug\gfx-test-tool.lib + + + + + NotUsing + Level3 + _DEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + ..\..\..;%(AdditionalIncludeDirectories) + EditAndContinue + Disabled + MultiThreadedDebug + + + Windows + true + ..\..\..\bin\windows-x64\debug\gfx-test-tool.lib + + + + + NotUsing + Level3 + NDEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + ..\..\..;%(AdditionalIncludeDirectories) + Full + true + true + false + true + MultiThreaded + + + Windows + true + true + ..\..\..\bin\windows-x86\release\gfx-test-tool.lib + + + + + NotUsing + Level3 + NDEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) + ..\..\..;%(AdditionalIncludeDirectories) + Full + true + true + false + true + MultiThreaded + + + Windows + true + true + ..\..\..\bin\windows-x64\release\gfx-test-tool.lib + + + + + + + + + + + + + + + + + {222F7498-B40C-4F3F-A704-DDEB91A4484A} + + + {F5ADB74E-02A7-44FB-AA3B-FC02F8AC7A4B} + + + {DB00DA62-0533-4AFD-B59F-A67D5B3A0808} + + + {F9BE7957-8399-899E-0C49-E714FDDD4B65} + + + + + + \ No newline at end of file diff --git a/build/visual-studio/gfx-test-tool/gfx-test-tool.vcxproj.filters b/build/visual-studio/gfx-test-tool/gfx-test-tool.vcxproj.filters new file mode 100644 index 000000000..9e4542487 --- /dev/null +++ b/build/visual-studio/gfx-test-tool/gfx-test-tool.vcxproj.filters @@ -0,0 +1,35 @@ + + + + + {21EB8090-0D4E-1035-B6D3-48EBA215DCB7} + + + {E9C7FDCE-D52A-8D73-7EB0-C5296AF258F6} + + + + + Header Files + + + Header Files + + + + + Source Files + + + Source Files + + + Source Files + + + + + Source Files + + + \ No newline at end of file -- cgit v1.2.3