diff options
| author | Tobin Ehlis <tobine@google.com> | 2016-10-25 20:56:47 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-10-25 21:06:32 -0600 |
| commit | 1f732cb40d1a752aa1ebf3c3eb4c1ae7a9c2a04a (patch) | |
| tree | 3cb450a06367b3e5bd071b74781e9c319771158d /layers/core_validation.cpp | |
| parent | d185791e55f8d35eb88e273af9905365d54adac5 (diff) | |
| download | usermoji-1f732cb40d1a752aa1ebf3c3eb4c1ae7a9c2a04a.tar.xz | |
layers:CreateDescriptorSetLayout cleanup
Streamline duplicate binding check, use [] operator instead of emplace,
remove dead comment and add new comment.
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index c2b78c08..4e3c5f31 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -6723,7 +6723,7 @@ static bool PreCallValidateCreateDescriptorSetLayout(layer_data *dev_data, const static void PostCallRecordCreateDescriptorSetLayout(layer_data *dev_data, const VkDescriptorSetLayoutCreateInfo *create_info, VkDescriptorSetLayout set_layout) { - // TODOSC : Capture layout bindings set + // TODO: Convert this to unique_ptr to avoid leaks dev_data->descriptorSetLayoutMap[set_layout] = new cvdescriptorset::DescriptorSetLayout(create_info, set_layout); } |
