diff options
| author | Jeremy Hayes <jeremy-lunarg@users.noreply.github.com> | 2025-09-30 20:55:25 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-01 02:55:25 +0000 |
| commit | 134c4c8db260979e2467153621d6f6a7ff1cddc7 (patch) | |
| tree | 6a76d1f3ab456fb98e97a12631dba02359214cd7 /source | |
| parent | e4611e2e30a3e5969d402f5ed7e72706a0e3b024 (diff) | |
Use glslang public API (#8369)
Stop including private header (see #8333).
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang-glslang/slang-glslang.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/slang-glslang/slang-glslang.cpp b/source/slang-glslang/slang-glslang.cpp index 1c91a97bc..30a6542be 100644 --- a/source/slang-glslang/slang-glslang.cpp +++ b/source/slang-glslang/slang-glslang.cpp @@ -2,7 +2,6 @@ #include "slang-glslang.h" #include "SPIRV/GlslangToSpv.h" -#include "glslang/MachineIndependent/localintermediate.h" #include "glslang/Public/ShaderLang.h" #include "slang.h" #include "spirv-tools/libspirv.h" @@ -810,7 +809,7 @@ static int glslang_compileGLSLToSPIRV(glslang_CompileRequest_1_2 request) continue; if (debugLevel == SLANG_DEBUG_INFO_LEVEL_MAXIMAL) { - stageIntermediate->addSourceText(sourceText, sourceTextLength); + shader->addSourceText(sourceText, sourceTextLength); } std::vector<unsigned int> spirv; |
