aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layers/core_validation.cpp')
-rw-r--r--layers/core_validation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp
index 187a7f53..cf4b738a 100644
--- a/layers/core_validation.cpp
+++ b/layers/core_validation.cpp
@@ -1061,7 +1061,7 @@ static bool verify_set_layout_compatibility(const cvdescriptorset::DescriptorSet
return false;
}
auto layout_node = pipeline_layout->set_layouts[layoutIndex];
- return descriptor_set->IsCompatible(layout_node, &errorMsg);
+ return descriptor_set->IsCompatible(layout_node.get(), &errorMsg);
}
// Validate overall state at the time of a draw call