Code cleanup (Refs #95)
This commit is contained in:
parent
8fbfb7c22b
commit
0c1c89c3cb
5 changed files with 1 additions and 14 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue