parent
e30279fae5
commit
712ae27f87
1 changed files with 1 additions and 6 deletions
|
|
@ -614,12 +614,7 @@ public:
|
||||||
|
|
||||||
void prepareCompute()
|
void prepareCompute()
|
||||||
{
|
{
|
||||||
// Create a compute capable device queue
|
// Get a compute capable device queue
|
||||||
VkDeviceQueueCreateInfo queueCreateInfo = {};
|
|
||||||
queueCreateInfo.sType = VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO;
|
|
||||||
queueCreateInfo.pNext = NULL;
|
|
||||||
queueCreateInfo.queueFamilyIndex = vulkanDevice->queueFamilyIndices.compute;
|
|
||||||
queueCreateInfo.queueCount = 1;
|
|
||||||
vkGetDeviceQueue(device, vulkanDevice->queueFamilyIndices.compute, 0, &compute.queue);
|
vkGetDeviceQueue(device, vulkanDevice->queueFamilyIndices.compute, 0, &compute.queue);
|
||||||
|
|
||||||
// Create compute pipeline
|
// Create compute pipeline
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue