Lines Matching defs:device
584 const VkDevice device = m_context.getDevice();
596 const ImageWithMemory colorAttachmentImage (vk, device, allocator, colorImageCreateInfo, MemoryRequirement::Any);
601 const BufferWithMemory colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible);
605 const Unique<VkImageView> colorAttachmentView (makeImageView (vk, device, *colorAttachmentImage, colorAttachmentViewType, colorFormat, colorImageAllLayersRange));
606 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat));
607 const Unique<VkFramebuffer> framebuffer (makeFramebuffer (vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), m_params.numLayers));
608 const Unique<VkPipelineLayout> pipelineLayout (makePipelineLayout (vk, device));
609 const Unique<VkCommandPool> cmdPool (makeCommandPool (vk, device, queueFamilyIndex));
610 const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer (vk, device, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY));
614 .setShader (vk, device, VK_SHADER_STAGE_VERTEX_BIT, m_context.getBinaryCollection().get("vert"), DE_NULL)
615 .setShader (vk, device, VK_SHADER_STAGE_FRAGMENT_BIT, m_context.getBinaryCollection().get("frag"), DE_NULL)
616 .setShader (vk, device, VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT, m_context.getBinaryCollection().get("tesc"), DE_NULL)
617 .setShader (vk, device, VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT, m_context.getBinaryCollection().get("tese"), DE_NULL)
618 .setShader (vk, device, VK_SHADER_STAGE_GEOMETRY_BIT, m_context.getBinaryCollection().get("geom"), DE_NULL)
619 .build (vk, device, *pipelineLayout, *renderPass));
651 submitCommandsAndWait(vk, device, queue, *cmdBuffer);
657 invalidateAlloc(vk, device, alloc);