diff options
author | bunnei <bunneidev@gmail.com> | 2020-07-18 02:30:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-18 02:30:24 +0200 |
commit | 0b733903f057307d3d80b473544aab4c1bef112f (patch) | |
tree | 11df34e7bd766b35437fe3ac2bc6ef489a5aa37e /src | |
parent | Merge pull request #4366 from lioncash/mii-sign (diff) | |
parent | vk_device: Fix build error on old MSVC versions (diff) | |
download | yuzu-0b733903f057307d3d80b473544aab4c1bef112f.tar yuzu-0b733903f057307d3d80b473544aab4c1bef112f.tar.gz yuzu-0b733903f057307d3d80b473544aab4c1bef112f.tar.bz2 yuzu-0b733903f057307d3d80b473544aab4c1bef112f.tar.lz yuzu-0b733903f057307d3d80b473544aab4c1bef112f.tar.xz yuzu-0b733903f057307d3d80b473544aab4c1bef112f.tar.zst yuzu-0b733903f057307d3d80b473544aab4c1bef112f.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_device.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_vulkan/vk_device.cpp b/src/video_core/renderer_vulkan/vk_device.cpp index 9226e591c..26379ee01 100644 --- a/src/video_core/renderer_vulkan/vk_device.cpp +++ b/src/video_core/renderer_vulkan/vk_device.cpp @@ -757,14 +757,14 @@ std::vector<VkDeviceQueueCreateInfo> VKDevice::GetDeviceQueueCreateInfos() const queue_cis.reserve(unique_queue_families.size()); for (const u32 queue_family : unique_queue_families) { - queue_cis.push_back({ + auto& ci = queue_cis.emplace_back(VkDeviceQueueCreateInfo{ .sType = VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO, .pNext = nullptr, .flags = 0, .queueFamilyIndex = queue_family, - .queueCount = 1, - .pQueuePriorities = &QUEUE_PRIORITY, }); + ci.queueCount = 1; + ci.pQueuePriorities = &QUEUE_PRIORITY; } return queue_cis; |