diff options
| author | Yong He <yonghe@outlook.com> | 2022-02-09 15:30:38 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-09 15:30:38 -0800 |
| commit | b8982fcf43b86c1e39dcc3dd19bff2821633eda6 (patch) | |
| tree | 0d66dbf46b50e760cce4aee232bd6a020976e6fb /tools/gfx/mutable-shader-object.h | |
| parent | 59f3fdc0a372d19ce4e989514ee3e9ecbcbf234c (diff) | |
Various fixes to gfx. (#2120)
* Various fixes to gfx.
* Fix.
* Fixes.
* Fix.
Co-authored-by: Yong He <yhe@nvidia.com>
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) { |
