diff options
| author | Yong He <yonghe@outlook.com> | 2023-07-12 14:07:10 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-12 14:07:10 -0700 |
| commit | 4ed3aafa20b667329f2f9dea94d7c65dc2e80db4 (patch) | |
| tree | f7f972d320a5cc24221ca8b2e775b7dbfeafb1fe /source | |
| parent | 39b7df94b287b2115f41ca038d560102246d0696 (diff) | |
Fix native string emit for CUDA/Cpp backend. (#2980)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/slang-emit-cpp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-emit-cpp.cpp b/source/slang/slang-emit-cpp.cpp index ef9b7f54e..83af4ad47 100644 --- a/source/slang/slang-emit-cpp.cpp +++ b/source/slang/slang-emit-cpp.cpp @@ -1574,7 +1574,7 @@ bool CPPSourceEmitter::tryEmitInstExprImpl(IRInst* inst, const EmitOpInfo& inOut if (m_hasString) { - m_writer->emit("toTerminatedSlice("); + m_writer->emit("Slang::toTerminatedSlice("); m_writer->emit(buf); m_writer->emit(")"); } |
