diff options
| author | Yong He <yonghe@outlook.com> | 2024-04-24 15:51:43 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-24 15:51:43 -0700 |
| commit | fc4c242442510fb97c3cfbf04d7582ebbc3bb0ed (patch) | |
| tree | 0c19f6974dad99cbe1faa24b1aba41d0780008da /source/slang/slang-emit-metal.cpp | |
| parent | 211b2ffc20d7798cab0b8483ccc3ec2b7ade49ab (diff) | |
Fix macos CI and clang warnings. (#4019)
* Fix macos CI.
* Fix.
* Fix.
* Fix.
* Fix clang warnings.
* Fix more warnings.
Diffstat (limited to 'source/slang/slang-emit-metal.cpp')
| -rw-r--r-- | source/slang/slang-emit-metal.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/slang/slang-emit-metal.cpp b/source/slang/slang-emit-metal.cpp index bf4a67b09..459104ac9 100644 --- a/source/slang/slang-emit-metal.cpp +++ b/source/slang/slang-emit-metal.cpp @@ -160,7 +160,6 @@ void MetalSourceEmitter::emitParameterGroupImpl(IRGlobalParam* varDecl, IRUnifor void MetalSourceEmitter::emitEntryPointAttributesImpl(IRFunc* irFunc, IREntryPointDecoration* entryPointDecor) { - auto profile = m_effectiveProfile; auto stage = entryPointDecor->getProfile().getStage(); switch (stage) |
