Code cleanup (Refs #95)

This commit is contained in:
saschawillems 2017-04-16 13:09:08 +02:00
parent 8fbfb7c22b
commit 0c1c89c3cb
5 changed files with 1 additions and 14 deletions

View file

@ -601,10 +601,7 @@ public:
// Compute is mandatory in Vulkan, so there must be at least one queue family that supports compute
assert(computeQueueFound);
VkDeviceQueueCreateInfo queueCreateInfo = {};
queueCreateInfo.queueFamilyIndex = compute.queueFamilyIndex;
queueCreateInfo.queueCount = 1;
// Get a compute queue from the device
vkGetDeviceQueue(device, compute.queueFamilyIndex, 0, &compute.queue);
}