diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-10-15 16:58:44 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-10-23 17:31:14 -0600 |
| commit | 8ab618c8214afba01166e7753726b6a6713862e1 (patch) | |
| tree | cf97601cb02b7256d66e2f63380dcb9d7f2e1bb9 /layers/device_limits.cpp | |
| parent | 396b5a55c6b002a26fe6169c62781afbfa2caab8 (diff) | |
| download | usermoji-8ab618c8214afba01166e7753726b6a6713862e1.tar.xz | |
bug-14642: Rename queueRecordCount to requestedQueueCount
Diffstat (limited to 'layers/device_limits.cpp')
| -rw-r--r-- | layers/device_limits.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/device_limits.cpp b/layers/device_limits.cpp index 34acb207..1c3018b1 100644 --- a/layers/device_limits.cpp +++ b/layers/device_limits.cpp @@ -408,7 +408,7 @@ VK_LAYER_EXPORT VkResult VKAPI vkCreateDevice(VkPhysicalDevice gpu, const VkDevi "Invalid call to vkCreateDevice() w/o first calling vkGetPhysicalDeviceQueueFamilyProperties()."); } else { // Check that the requested queue properties are valid - for (uint32_t i=0; i<pCreateInfo->queueRecordCount; i++) { + for (uint32_t i=0; i<pCreateInfo->requestedQueueCount; i++) { uint32_t requestedIndex = pCreateInfo->pRequestedQueues[i].queueFamilyIndex; if (phy_dev_data->queueFamilyProperties.size() <= requestedIndex) { // requested index is out of bounds for this physical device skipCall |= log_msg(phy_dev_data->report_data, VK_DBG_REPORT_ERROR_BIT, VK_OBJECT_TYPE_PHYSICAL_DEVICE, 0, 0, DEVLIMITS_INVALID_QUEUE_CREATE_REQUEST, "DL", |
