Lines Matching defs:device

400 	const	auto				device			= m_context.getDevice();
421 vert = ShaderWrapper(vkd, device, m_context.getBinaryCollection().get("vert"), 0u);
426 tesc = ShaderWrapper(vkd, device, m_context.getBinaryCollection().get("tesc"), 0u);
431 tese = ShaderWrapper(vkd, device, m_context.getBinaryCollection().get("tese"), 0u);
436 geom = ShaderWrapper(vkd, device, m_context.getBinaryCollection().get("geom"), 0u);
440 frag = ShaderWrapper(vkd, device, m_context.getBinaryCollection().get("frag"), 0u);
462 ImageWithMemory colorImage (vkd, device, alloc, colorImageInfo, MemoryRequirement::Any);
465 const auto colorImageView = makeImageView(vkd, device, colorImage.get(), viewType, format, subresourceRange);
478 BufferWithMemory vertexBuffer (vkd, device, alloc, vertexBufferInfo, MemoryRequirement::HostVisible);
483 flushAlloc(vkd, device, vertexBufferAlloc);
559 RenderPassWrapper renderPass (m_params.pipelineConstructionType, vkd, device, &renderPassInfo);
562 renderPass.createFramebuffer(vkd, device, *colorImage, colorImageView.get(), extent.width, extent.height);
570 const auto descriptorSetLayout = layoutBuilder.build(vkd, device);
571 const PipelineLayoutWrapper pipelineLayout (m_params.pipelineConstructionType, vkd, device, descriptorSetLayout.get());
579 GraphicsPipelineWrapper pipeline (vki, vkd, physicalDevice, device, m_context.getDeviceExtensions(),
613 ssboBuffer = de::MovePtr<BufferWithMemory>(new BufferWithMemory(vkd, device, alloc, ssboBufferInfo, MemoryRequirement::HostVisible));
617 flushAlloc(vkd, device, ssboBufferAlloc);
622 descriptorPool = poolBuilder.build(vkd, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u);
625 descriptorSet = makeDescriptorSet(vkd, device, descriptorPool.get(), descriptorSetLayout.get());
629 updateBuilder.update(vkd, device);
640 BufferWithMemory verificationBuffer(vkd, device, alloc, verificationBufferInfo, MemoryRequirement::HostVisible);
643 const auto cmdPool = makeCommandPool(vkd, device, qIndex);
644 const auto cmdBufferPtr = allocateCommandBuffer(vkd, device, cmdPool.get(), VK_COMMAND_BUFFER_LEVEL_PRIMARY);
685 submitCommandsAndWait(vkd, device, queue, cmdBuffer);
690 invalidateAlloc(vkd, device, verificationBufferAlloc);
723 invalidateAlloc(vkd, device, ssboAlloc);