aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2017-06-21 10:08:52 -0600
committerTobin Ehlis <tobine@google.com>2017-06-21 10:51:36 -0600
commita2e99be395d6d5158bad8b902c01bfcfaa9ad10d (patch)
treec26783e3bafef8f02d09001cc4413a64912d1102 /layers/core_validation.cpp
parentc851790a64761cb422cdd6c0400da6f690c58ae1 (diff)
downloadusermoji-a2e99be395d6d5158bad8b902c01bfcfaa9ad10d.tar.xz
layers:IsCompatible uses raw DSLayout ptr
Update IsCompatible calls for DescriptorSetLayout class to use raw ptrs instead of shared_ptr as the calls just temporarily use the ptr and don't affect ptr ownership.
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