From a2e99be395d6d5158bad8b902c01bfcfaa9ad10d Mon Sep 17 00:00:00 2001 From: Tobin Ehlis Date: Wed, 21 Jun 2017 10:08:52 -0600 Subject: 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. --- layers/core_validation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layers/core_validation.cpp') 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 -- cgit v1.2.3