diff options
| author | Yong He <yonghe@outlook.com> | 2023-02-16 16:44:04 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-16 16:44:04 -0800 |
| commit | 245466d89cfe54b78da486f06d470bc6daaf4625 (patch) | |
| tree | 522e0af1a9d2756182e143cdc85031ea1bbc2aa0 /source/slang/slang-ir-entry-point-uniforms.cpp | |
| parent | 4c4826d47eeef4675daae4ae53ff76f4d5ebd84a (diff) | |
Remove `SharedIRBuilder`. (#2657)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-ir-entry-point-uniforms.cpp')
| -rw-r--r-- | source/slang/slang-ir-entry-point-uniforms.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/slang/slang-ir-entry-point-uniforms.cpp b/source/slang/slang-ir-entry-point-uniforms.cpp index 1f0bc13b1..d10aa7ff2 100644 --- a/source/slang/slang-ir-entry-point-uniforms.cpp +++ b/source/slang/slang-ir-entry-point-uniforms.cpp @@ -221,7 +221,7 @@ struct CollectEntryPointUniformParams : PerEntryPointPass // We will set up an IR builder so that we are ready to generate code. // - IRBuilder builderStorage(m_sharedBuilder); + IRBuilder builderStorage(m_module); auto builder = &builderStorage; if(m_options.alwaysCreateCollectedParam) @@ -380,7 +380,7 @@ struct CollectEntryPointUniformParams : PerEntryPointPass if(paramStructType) return; - IRBuilder builder(m_sharedBuilder); + IRBuilder builder(m_module); // First we create the structure to hold the parameters. // @@ -427,7 +427,7 @@ struct MoveEntryPointUniformParametersToGlobalScope : PerEntryPointPass // We will set up an IR builder so that we are ready to generate code. // - IRBuilder builderStorage(m_sharedBuilder); + IRBuilder builderStorage(m_module); auto builder = &builderStorage; builder->setInsertBefore(entryPointFunc); |
