diff options
Diffstat (limited to 'tools/gfx/mutable-shader-object.h')
| -rw-r--r-- | tools/gfx/mutable-shader-object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/mutable-shader-object.h b/tools/gfx/mutable-shader-object.h index 54fdf87c2..a9562f200 100644 --- a/tools/gfx/mutable-shader-object.h +++ b/tools/gfx/mutable-shader-object.h @@ -249,7 +249,7 @@ namespace gfx MutableRootShaderObject(RendererBase* device, Slang::RefPtr<ShaderProgramBase> program) { this->m_device = device; - auto programLayout = program->slangProgram->getLayout(); + auto programLayout = program->slangGlobalScope->getLayout(); SlangInt entryPointCount = programLayout->getEntryPointCount(); for (SlangInt e = 0; e < entryPointCount; ++e) { |
