Lines Matching refs:device

82 												 const VkDevice					device,
125 const VkDevice device,
199 return RenderPassWrapper(m_pipelineConstructionType, vk, device, &renderPassInfo);
252 const VkDevice device = m_context.getDevice();
258 const ShaderWrapper vertexModule (ShaderWrapper(vk, device, m_context.getBinaryCollection().get("vert"), 0u));
259 const ShaderWrapper fragmentModule (ShaderWrapper(vk, device, m_context.getBinaryCollection().get("frag"), 0u));
261 const Unique<VkImage> colorImage (makeImage(vk, device, makeImageCreateInfo(m_framebufferSize, m_sampleCount)));
262 const UniquePtr<Allocation> colorImageAlloc (bindImage(vk, device, allocator, *colorImage, MemoryRequirement::Any));
263 const Unique<VkImageView> colorImageView (makeImageView(vk, device, *colorImage, VK_IMAGE_VIEW_TYPE_2D, m_colorFormat, colorSubresourceRange));
265 const Unique<VkImage> resolveColorImage (makeImage(vk, device, makeImageCreateInfo(m_framebufferSize, 1u)));
266 const UniquePtr<Allocation> resolveColorImageAlloc (bindImage(vk, device, allocator, *resolveColorImage, MemoryRequirement::Any));
267 const Unique<VkImageView> resolveColorImageView (makeImageView(vk, device, *resolveColorImage, VK_IMAGE_VIEW_TYPE_2D, m_colorFormat, colorSubresourceRange));
274 const Unique<VkBuffer> colorBufferResults (makeBuffer(vk, device, colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT));
275 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBufferResults, MemoryRequirement::HostVisible));
277 RenderPassWrapper renderPassOne (makeRenderPass(vk, device, m_colorFormat, VK_IMAGE_LAYOUT_UNDEFINED));
278 RenderPassWrapper renderPassTwo (makeRenderPass(vk, device, m_colorFormat, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL));
279 renderPassOne.createFramebuffer(vk, device, numUsedAttachmentImages, images, attachmentImages, m_framebufferSize.x(), m_framebufferSize.y());
280 renderPassTwo.createFramebuffer(vk, device, numUsedAttachmentImages, images, attachmentImages, m_framebufferSize.x(), m_framebufferSize.y());
282 const PipelineLayoutWrapper pipelineLayout (m_pipelineConstructionType, vk, device);
283 GraphicsPipelineWrapper graphicsPipeline {vki, vk, physicalDevice, device, m_context.getDeviceExtensions(), m_pipelineConstructionType};
285 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex));
286 const Unique<VkCommandBuffer> commandBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY));
291 const Unique<VkBuffer> vertexBuffer (makeBuffer(vk, device, vertexBufferSizeBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT));
292 const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer(vk, device, allocator, *vertexBuffer, MemoryRequirement::HostVisible));
339 flushAlloc(vk, device, *vertexBufferAlloc);
375 submitCommandsAndWait(vk, device, queue, *commandBuffer);
379 invalidateAlloc(vk, device, *colorBufferAlloc);
382 const Unique<VkBuffer> testBufferResults (makeBuffer(vk, device, colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT));