summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-07-18 01:27:53 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-07-18 01:27:53 +0200
commit81c8f92f2e4ea9155116508d48c49a4894857c89 (patch)
tree94543d88b0e09e6c7363370a43acdcc6f01f13e8 /src/video_core
parentMerge pull request #4344 from VolcaEM/c3 (diff)
downloadyuzu-81c8f92f2e4ea9155116508d48c49a4894857c89.tar
yuzu-81c8f92f2e4ea9155116508d48c49a4894857c89.tar.gz
yuzu-81c8f92f2e4ea9155116508d48c49a4894857c89.tar.bz2
yuzu-81c8f92f2e4ea9155116508d48c49a4894857c89.tar.lz
yuzu-81c8f92f2e4ea9155116508d48c49a4894857c89.tar.xz
yuzu-81c8f92f2e4ea9155116508d48c49a4894857c89.tar.zst
yuzu-81c8f92f2e4ea9155116508d48c49a4894857c89.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_vulkan/vk_device.cpp6
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;