aboutsummaryrefslogtreecommitdiff
path: root/layers/descriptor_sets.cpp
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2017-02-10 12:09:23 -0700
committerMark Lobodzinski <mark@lunarg.com>2017-02-10 12:15:31 -0700
commit555c8484bd88b77b080eab3d4d5777b69ec40e30 (patch)
treece2d16c49aaa50abcd22e24c11c7d558c9249dd7 /layers/descriptor_sets.cpp
parent36c21d094bf432258fc4e6b8acc049ba0afcb9e9 (diff)
downloadusermoji-555c8484bd88b77b080eab3d4d5777b69ec40e30.tar.xz
layers: Consolidate GetPhysicalDevice* accessors
Simplified core_validation->descriptor_sets/buffer_validation. Change-Id: I6921ac458bce5899e8bd60145bfaa0e0f5e8a2ac
Diffstat (limited to 'layers/descriptor_sets.cpp')
-rw-r--r--layers/descriptor_sets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/descriptor_sets.cpp b/layers/descriptor_sets.cpp
index 44769ced..ad3d720c 100644
--- a/layers/descriptor_sets.cpp
+++ b/layers/descriptor_sets.cpp
@@ -309,7 +309,7 @@ cvdescriptorset::DescriptorSet::DescriptorSet(const VkDescriptorSet set, const V
pool_state_(nullptr),
p_layout_(layout),
device_data_(dev_data),
- limits_(GetPhysicalDeviceLimits(dev_data)) {
+ limits_(GetPhysDevProperties(dev_data)->properties.limits) {
pool_state_ = GetDescriptorPoolState(dev_data, pool);
// Foreach binding, create default descriptors of given type
for (uint32_t i = 0; i < p_layout_->GetBindingCount(); ++i) {