Lines Matching defs:vkDevice

1285 	const VkDevice				vkDevice				= context.getDevice();
1287 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice()));
1311 m_colorImage = createImage(vk, vkDevice, &colorImageParams);
1314 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any);
1315 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset()));
1340 m_resolveImage = createImage(vk, vkDevice, &resolveImageParams);
1343 m_resolveImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_resolveImage), MemoryRequirement::Any);
1344 VK_CHECK(vk.bindImageMemory(vkDevice, *m_resolveImage, m_resolveImageAlloc->getMemory(), m_resolveImageAlloc->getOffset()));
1361 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams);
1378 m_resolveAttachmentView = createImageView(vk, vkDevice, &resolveAttachmentViewParams);
1448 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams);
1472 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams);
1488 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams);
1491 m_vertexShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("color_vert"), 0);
1492 m_fragmentShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("color_frag"), 0);
1674 m_graphicsPipeline = createGraphicsPipeline(vk, vkDevice, DE_NULL, &graphicsPipelineParams);
1691 m_vertexBuffer = createBuffer(vk, vkDevice, &vertexBufferParams);
1692 m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer), MemoryRequirement::HostVisible);
1694 VK_CHECK(vk.bindBufferMemory(vkDevice, *m_vertexBuffer, m_vertexBufferAlloc->getMemory(), m_vertexBufferAlloc->getOffset()));
1698 flushMappedMemoryRange(vk, vkDevice, m_vertexBufferAlloc->getMemory(), m_vertexBufferAlloc->getOffset(), vertexBufferParams.size);
1711 m_cmdPool = createCommandPool(vk, vkDevice, &cmdPoolParams);
1789 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferAllocateInfo);
1818 m_fence = createFence(vk, vkDevice, &fenceParams);
1829 const VkDevice vkDevice = m_context.getDevice();
1832 SimpleAllocator allocator (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice()));
1846 VK_CHECK(vk.resetFences(vkDevice, 1, &m_fence.get()));
1848 VK_CHECK(vk.waitForFences(vkDevice, 1, &m_fence.get(), true, ~(0ull) /* infinity*/));
1850 return readColorAttachment(vk, vkDevice, queue, queueFamilyIndex, allocator, *m_resolveImage, m_colorFormat, m_renderSize.cast<deUint32>());