diff options
| author | Yong He <yonghe@outlook.com> | 2024-12-11 13:34:54 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-11 13:34:54 -0800 |
| commit | 941f07040a505f1f673c96da959bde839c629aba (patch) | |
| tree | fe5cd3cd0a63919ad8971d32cd18e8161f9cbd99 /tools/gfx | |
| parent | e50aac13e2c161d672b137a62f6d66820d0f9ff1 (diff) | |
Fix attribute reflection. (#5823)
* Fix attribute reflection.
* Fix.
* Fix.
Diffstat (limited to 'tools/gfx')
| -rw-r--r-- | tools/gfx/d3d12/d3d12-shader-object-layout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/d3d12/d3d12-shader-object-layout.cpp b/tools/gfx/d3d12/d3d12-shader-object-layout.cpp index 6cf51ee2b..8e2d24ad6 100644 --- a/tools/gfx/d3d12/d3d12-shader-object-layout.cpp +++ b/tools/gfx/d3d12/d3d12-shader-object-layout.cpp @@ -39,7 +39,7 @@ bool ShaderObjectLayoutImpl::isBindingRangeRootParameter( { if (auto leafVariable = typeLayout->getBindingRangeLeafVariable(bindingRangeIndex)) { - if (leafVariable->findUserAttributeByName(globalSession, rootParameterAttributeName)) + if (leafVariable->findAttributeByName(globalSession, rootParameterAttributeName)) { isRootParameter = true; } |
