Lines Matching defs:device
1088 const VkDevice device = m_context.getDevice();
1090 const Unique<VkShaderModule> cs(createShaderModule(m_vk, device, m_context.getBinaryCollection().get("comp"), 0));
1120 m_computeDescriptorSetLayout = vk::createDescriptorSetLayout(m_vk, device, &setLayoutCreateInfo);
1142 m_computePipelineLayout = createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo, NULL);
1154 m_computePipeline = createComputePipeline(m_vk, device, DE_NULL, &pipelineCreateInfo, NULL);
1163 m_descriptorPool = poolBuilder.build(m_vk, device, poolCreateFlags, attachmentSize);
1167 m_descriptorSets[i] = makeDescriptorSet(m_vk, device, *m_descriptorPool, *m_computeDescriptorSetLayout);
1187 m_vk.updateDescriptorSets(device, 1, &w, 0, NULL);
1192 m_vk.updateDescriptorSets(device, 1, &w, 0, NULL);
1199 const VkDevice device = m_context.getDevice();
1206 m_graphicsPipelineLayout = makePipelineLayout(m_vk, device, 0, nullptr, 1, &pushConstant);
1207 m_vertexModule = createShaderModule(m_vk, device, m_context.getBinaryCollection().get("vert"), 0u);
1208 m_fragmentModule = createShaderModule(m_vk, device, m_context.getBinaryCollection().get("frag"), 0u);
1415 return createGraphicsPipeline(m_vk, device, DE_NULL, &graphicsPipelineInfo);
1420 const VkDevice device = m_context.getDevice();
1463 m_imageColor[i] = makeImage(m_vk, device, imageInfo);
1464 m_imageColorAlloc[i] = bindImage(m_vk, device, allocator, *m_imageColor[i], MemoryRequirement::Any);
1466 Draw::Buffer::createAndAlloc(m_vk, device, bufferInfo, allocator, MemoryRequirement::HostVisible);
1467 m_imageColorView[i] = makeImageView(m_vk, device, *m_imageColor[i], VK_IMAGE_VIEW_TYPE_2D,
1495 m_imageDepthStencil = makeImage(m_vk, device, imageInfo);
1496 m_imageDepthStencilAlloc = bindImage(m_vk, device, allocator, *m_imageDepthStencil, MemoryRequirement::Any);
1497 m_imageDepthStencilView = makeImageView(m_vk, device, *m_imageDepthStencil, VK_IMAGE_VIEW_TYPE_2D,
1507 const VkDevice device = m_context.getDevice();
1561 Draw::Buffer::createAndAlloc(m_vk, device, bufferInfo, allocator, MemoryRequirement::HostVisible);
1566 flushAlloc(m_vk, device, m_vertexBuffer->getBoundMemory());
1570 const VkDevice device = m_context.getDevice();
1572 m_cmdPool = createCommandPool(m_vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT,
1574 m_cmdBuffer = allocateCommandBuffer(m_vk, device, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY);
1647 const VkDevice device = m_context.getDevice();
1658 invalidateAlloc(m_vk, device, m_imageBuffer[rt]->getBoundMemory());
1730 const VkDevice device = m_context.getDevice();
1931 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get());