Lines Matching defs:device
392 const vk::VkDevice device = m_context.getDevice();
402 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo);
409 m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.getDefaultAllocator(), m_context.getUniversalQueueFamilyIndex());
418 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo);
473 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo);
478 m_framebuffer = vk::createFramebuffer(m_vk, device, &framebufferCreateInfo);
532 m_cmdPool = vk::createCommandPool(m_vk, device, &cmdPoolCreateInfo);
533 m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIMARY);
535 m_secCmdBuffer = vk::allocateCommandBuffer(m_vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_SECONDARY);
537 const vk::Unique<vk::VkShaderModule> vs(createShaderModule(m_vk, device, m_context.getBinaryCollection().get("InstancedDrawVert"), 0));
538 const vk::Unique<vk::VkShaderModule> fs(createShaderModule(m_vk, device, m_context.getBinaryCollection().get("InstancedDrawFrag"), 0));
598 m_pipeline = vk::createGraphicsPipeline(m_vk, device, DE_NULL, &pipelineCreateInfo);
604 const vk::VkDevice device = m_context.getDevice();
739 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get());
740 m_context.resetCommandPoolForVKSC(device, *m_cmdPool);