diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2021-05-22 16:03:30 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-22 16:03:30 -0400 |
| commit | 34a1ff5226a526cc17c5baecd63637f69c324fc7 (patch) | |
| tree | 3bbaf2a2812bc121210d0b1142a303e6aab01a68 /build/visual-studio/render-test-tool | |
| parent | 7f8a9994d0bd99a171a1daa0bce46d92c02ccffd (diff) | |
Improvements in -X support (#1852)
* #include an absolute path didn't work - because paths were taken to always be relative.
* Added SourceLoc handling for command line parsing.
* Fix typo in debug.
* Fix issue around the DiagnosticSink used in options parsing not having a writer available - by having DiagnosticSink parenting.
* Small rename for clarity.
* WIP extracting command line args for downstream tools.
* Unit tests/bug fixes around extracting args.
* Use DownstreamArgs in the EndToEndCompileRequest
* Passing downstream compiler options downstream.
* Fix issue with endToEndReq being nullptr.
* Fix issue with diagnostics number change.
* Small improvements to how the source line is displayed if it's too long.
Default to 120, as suggested in previous review.
* Make render test use x-args parsing and CommandArgReader.
* Added missing diagnostics.
* More DownstreamArgs to linkage so can be seen by 'components'.
Added dxc-x-arg test.
* Used combination of name and args instead of two Lists, which whilst equivalent was perhaps a little confusing.
* Added documentation for -X support.
* Added test for x-args parsing diagnostic. Improved diagnostic with list of known names.
* Fix issues from merge.
* Fix lookup for -matrix-layout-column-major in render test.
* Remove commented out line.
Diffstat (limited to 'build/visual-studio/render-test-tool')
| -rw-r--r-- | build/visual-studio/render-test-tool/render-test-tool.vcxproj | 6 | ||||
| -rw-r--r-- | build/visual-studio/render-test-tool/render-test-tool.vcxproj.filters | 9 |
2 files changed, 15 insertions, 0 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 1c913b878..9e7b64089 100644 --- a/build/visual-studio/render-test-tool/render-test-tool.vcxproj +++ b/build/visual-studio/render-test-tool/render-test-tool.vcxproj @@ -179,6 +179,8 @@ </PostBuildEvent> </ItemDefinitionGroup> <ItemGroup> + <ClInclude Include="..\..\..\tools\render-test\diagnostic-defs.h" /> + <ClInclude Include="..\..\..\tools\render-test\diagnostics.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" /> @@ -186,6 +188,7 @@ <ClInclude Include="..\..\..\tools\render-test\slang-support.h" /> </ItemGroup> <ItemGroup> + <ClCompile Include="..\..\..\tools\render-test\diagnostics.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" /> @@ -197,6 +200,9 @@ <ProjectReference Include="..\core\core.vcxproj"> <Project>{F9BE7957-8399-899E-0C49-E714FDDD4B65}</Project> </ProjectReference> + <ProjectReference Include="..\compiler-core\compiler-core.vcxproj"> + <Project>{12C1E89D-F5D0-41D3-8E8D-FB3F358F8126}</Project> + </ProjectReference> <ProjectReference Include="..\slang\slang.vcxproj"> <Project>{DB00DA62-0533-4AFD-B59F-A67D5B3A0808}</Project> </ProjectReference> 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 cef2cd3b7..689b8846d 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,6 +9,12 @@ </Filter> </ItemGroup> <ItemGroup> + <ClInclude Include="..\..\..\tools\render-test\diagnostic-defs.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="..\..\..\tools\render-test\diagnostics.h"> + <Filter>Header Files</Filter> + </ClInclude> <ClInclude Include="..\..\..\tools\render-test\options.h"> <Filter>Header Files</Filter> </ClInclude> @@ -26,6 +32,9 @@ </ClInclude> </ItemGroup> <ItemGroup> + <ClCompile Include="..\..\..\tools\render-test\diagnostics.cpp"> + <Filter>Source Files</Filter> + </ClCompile> <ClCompile Include="..\..\..\tools\render-test\options.cpp"> <Filter>Source Files</Filter> </ClCompile> |
