summaryrefslogtreecommitdiff
path: root/tools/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx')
-rw-r--r--tools/gfx/d3d12/d3d12-shader-object-layout.cpp2
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;
}