diff options
| author | Yong He <yonghe@outlook.com> | 2023-10-04 11:20:35 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-04 11:20:35 -0700 |
| commit | ac886fd3e329a9599ed1ac7a6d8b26ca5821046c (patch) | |
| tree | 87bcafb3985775f9d90303d6a4239eb743164407 /source/slang/slang-spirv-opt.cpp | |
| parent | d87493a46c00be37b820a473c0827bbb865eb222 (diff) | |
SPIRV compiler performance fixes. (#3258)
* SPIRV compiler performance fixes.
* Cleanup.
* update project files
* Cleanup debug code.
* Make redundancy removal non-recursive.
---------
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-spirv-opt.cpp')
| -rw-r--r-- | source/slang/slang-spirv-opt.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/slang/slang-spirv-opt.cpp b/source/slang/slang-spirv-opt.cpp index 34c87db9f..786358324 100644 --- a/source/slang/slang-spirv-opt.cpp +++ b/source/slang/slang-spirv-opt.cpp @@ -23,8 +23,6 @@ SlangResult optimizeSPIRV(const List<uint8_t>& spirv, String& outErr, List<uint8 // Set up our process CommandLine commandLine; commandLine.m_executableLocation.setName("spirv-opt"); - commandLine.addArg("--merge-return"); - commandLine.addArg("--inline-entry-points-exhaustive"); commandLine.addArg("--eliminate-dead-functions"); commandLine.addArg("--eliminate-local-single-block"); commandLine.addArg("--eliminate-local-single-store"); |
