Lines Matching defs:device

74 	const VkDevice					device					= m_context.getDevice();
82 device,
87 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat));
89 const Move<VkPipelineLayout> pipelineLayout (createPipelineLayout(vk, device));
91 const Unique<VkImageView> colorAttachmentView (makeImageView(vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubRange));
92 const Unique<VkFramebuffer> framebuffer (makeFramebuffer(vk, device, *renderPass, *colorAttachmentView, resolution.x(), resolution.y(), 1u));
93 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex));
94 const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY));
104 .setShader (vk, device, VK_SHADER_STAGE_VERTEX_BIT, m_context.getBinaryCollection().get("vertex"), DE_NULL)
105 .setShader (vk, device, VK_SHADER_STAGE_GEOMETRY_BIT, m_context.getBinaryCollection().get(geometryShaderName), DE_NULL)
106 .setShader (vk, device, VK_SHADER_STAGE_FRAGMENT_BIT, m_context.getBinaryCollection().get("fragment"), DE_NULL)
111 .build (vk, device, *pipelineLayout, *renderPass));
114 const BufferWithMemory colorBuffer (vk, device, memAlloc, makeBufferCreateInfo(colorBufferSizeBytes,
116 const BufferWithMemory vertexBuffer (vk, device, memAlloc, makeBufferCreateInfo(vertexDataSizeBytes,
132 flushAlloc(vk, device, alloc);
167 bindDescriptorSets(vk, device, memAlloc, *cmdBuffer, *pipelineLayout);
176 submitCommandsAndWait(vk, device, queue, *cmdBuffer);
181 invalidateAlloc(vk, device, colorBufferAlloc);
191 Move<VkPipelineLayout> GeometryExpanderRenderTestInstance::createPipelineLayout (const DeviceInterface& vk, const VkDevice device)
193 return makePipelineLayout(vk, device);