Lines Matching refs:queues
104 vector<VkQueue> queues; member
117 temp.queues.resize(count); in addQueueFamilyIndex()
148 for (int queueNdx = 0; queueNdx < static_cast<int>(queue.queues.size()); ++queueNdx) in getFreeQueue()
155 returnQueues = queue.queues[queueNdx]; in getFreeQueue()
216 MultiQueues &queues) in createAllocator() argument
218 const DeviceInterface &deviceInterface = queues.getDeviceInterface(); in createAllocator()
219 const VkDevice device = queues.getDevice(); in createAllocator()
248 MultiQueues &queues = *moveQueues; in createQueues() local
261 …queues.addQueueFamilyIndex(queuePropertiesNdx, queueFamilyProperties[queuePropertiesNdx].queueCoun… in createQueues()
265 if (queues.countQueueFamilyIndex() == 0) in createQueues()
273 …for (int queueFamilyIndexNdx = 0; queueFamilyIndexNdx < static_cast<int>(queues.countQueueFamilyIn… in createQueues()
276 if (queues.getQueues(queueFamilyIndexNdx).queues.size() > maxQueueCount) in createQueues()
277 … maxQueueCount = static_cast<unsigned int>(queues.getQueues(queueFamilyIndexNdx).queues.size()); in createQueues()
282 …for (int queueFamilyIndexNdx = 0; queueFamilyIndexNdx < static_cast<int>(queues.countQueueFamilyIn… in createQueues()
286 …const uint32_t queueCount = static_cast<uint32_t>(queues.getQueues(queueFamilyIndexNdx).queues.siz… in createQueues()
293 queueInfo.queueFamilyIndex = queues.getQueueFamilyIndex(queueFamilyIndexNdx); in createQueues()
349 deviceInfo.queueCreateInfoCount = static_cast<uint32_t>(queues.countQueueFamilyIndex()); in createQueues()
352 …queues.setDevice(createCustomDevice(context.getTestContext().getCommandLine().isValidationEnabled(… in createQueues()
355 vk::DeviceInterface &vk = queues.getDeviceInterface(); in createQueues()
357 …for (uint32_t queueFamilyIndex = 0; queueFamilyIndex < queues.countQueueFamilyIndex(); ++queueFami… in createQueues()
359 …for (uint32_t queueReqNdx = 0; queueReqNdx < queues.getQueues(queueFamilyIndex).queues.size(); ++q… in createQueues()
361 … vk.getDeviceQueue(queues.getDevice(), queues.getQueueFamilyIndex(queueFamilyIndex), queueReqNdx, in createQueues()
362 &queues.getQueues(queueFamilyIndex).queues[queueReqNdx]); in createQueues()
363 queues.getQueues(queueFamilyIndex).available[queueReqNdx] = true; in createQueues()
364 queues.getQueues(queueFamilyIndex) in createQueues()
366 … createCommandPool(vk, queues.getDevice(), VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, in createQueues()
367 queues.getQueueFamilyIndex(queueFamilyIndex)))); in createQueues()
371 queues.m_allocator = createAllocator(vki, physicalDevice, queues); in createQueues()
377 … const VkDescriptorSetLayout &descriptorSetLayout, MultiQueues &queues, in executeComputePipeline() argument
381 const DeviceInterface &vk = queues.getDeviceInterface(); in executeComputePipeline()
382 const VkDevice device = queues.getDevice(); in executeComputePipeline()
387 while (!queues.getFreeQueue(vk, device, queueFamilyIndex, queue, cmdBuffer, queueIndex)) in executeComputePipeline()
396 Buffer resultBuffer(vk, device, *queues.m_allocator, in executeComputePipeline()
438 queues.releaseQueue(queueFamilyIndex, queueIndex, cmdBuffer); in executeComputePipeline()
459 … const VkDescriptorSetLayout &descriptorSetLayout, MultiQueues &queues, in executeGraphicPipeline() argument
463 const DeviceInterface &vk = queues.getDeviceInterface(); in executeGraphicPipeline()
464 const VkDevice device = queues.getDevice(); in executeGraphicPipeline()
469 while (!queues.getFreeQueue(vk, device, queueFamilyIndex, queue, cmdBuffer, queueIndex)) in executeGraphicPipeline()
479 Buffer resultBuffer(vk, device, *queues.m_allocator, in executeGraphicPipeline()
489 vk, device, *queues.m_allocator, in executeGraphicPipeline()
545 queues.releaseQueue(queueFamilyIndex, queueIndex, cmdBuffer); in executeGraphicPipeline()
568 const VkDescriptorSetLayout &descriptorSetLayout, MultiQueues &queues, in ThreadGroupThread() argument
574 , m_queues(queues) in ThreadGroupThread()
691 const VkDescriptorSetLayout &descriptorSetLayout, MultiQueues &queues, in CreateComputeThread() argument
693 …: ThreadGroupThread(context, pipelineCache, pipelineLayout, descriptorSetLayout, queues, shadersEx… in CreateComputeThread()
734 const VkDescriptorSetLayout &descriptorSetLayout, MultiQueues &queues, in CreateGraphicThread() argument
736 …: ThreadGroupThread(context, pipelineCache, pipelineLayout, descriptorSetLayout, queues, shadersEx… in CreateGraphicThread()
794 …MovePtr<MultiQueues> queues = createQueues(m_context, VK_QUEUE_COMPUTE_BIT, instance, ins… in iterate() local
795 const DeviceInterface &vk = queues->getDeviceInterface(); in iterate()
796 const VkDevice device = queues->getDevice(); in iterate()
798 Buffer resultBuffer(vk, device, *queues->m_allocator, in iterate()
831 executeComputePipeline(m_context, *pipeline, *pipelineLayout, *descriptorSetLayout, *queues, in iterate()
837 … *queues, m_shadersExecutions))); in iterate()
930 …MovePtr<MultiQueues> queues = createQueues(m_context, VK_QUEUE_GRAPHICS_BIT, instance, instanceD… in iterate() local
931 const VkDevice device = queues->getDevice(); in iterate()
932 const DeviceInterface &vk = queues->getDeviceInterface(); in iterate()
967 …executeGraphicPipeline(m_context, *pipeline, *pipelineLayout, *descriptorSetLayout, *queues, *rend… in iterate()
973 … *queues, *renderPass, m_shadersExecutions))); in iterate()