diff options
Diffstat (limited to 'tools/gfx/debug-layer/debug-shader-program.cpp')
| -rw-r--r-- | tools/gfx/debug-layer/debug-shader-program.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gfx/debug-layer/debug-shader-program.cpp b/tools/gfx/debug-layer/debug-shader-program.cpp index 264087abd..745fc8691 100644 --- a/tools/gfx/debug-layer/debug-shader-program.cpp +++ b/tools/gfx/debug-layer/debug-shader-program.cpp @@ -8,9 +8,9 @@ using namespace Slang; namespace debug { -DebugShaderProgram::DebugShaderProgram(const IShaderProgram::Desc& desc) +slang::TypeReflection* DebugShaderProgram::findTypeByName(const char* name) { - m_slangProgram = desc.slangGlobalScope; + return baseObject->findTypeByName(name); } } // namespace debug |
