Lines Matching defs:vkDevice

320 	const VkDevice				vkDevice				= context.getDevice();
322 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice()));
347 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo);
350 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any);
351 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset()));
379 m_stencilImage = createImage(vk, vkDevice, &stencilImageParams);
382 m_stencilImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_stencilImage), MemoryRequirement::Any);
383 VK_CHECK(vk.bindImageMemory(vkDevice, *m_stencilImage, m_stencilImageAlloc->getMemory(), m_stencilImageAlloc->getOffset()));
404 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams);
421 m_stencilAttachmentView = createImageView(vk, vkDevice, &stencilAttachmentViewParams);
497 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams);
517 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams);
533 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams);
536 m_vertexShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("color_vert"), 0);
537 m_fragmentShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("color_frag"), 0);
740 m_graphicsPipelines[quadNdx] = createGraphicsPipeline(vk, vkDevice, DE_NULL, &graphicsPipelineParams);
760 m_vertexBuffer = createBuffer(vk, vkDevice, &vertexBufferParams);
761 m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer), MemoryRequirement::HostVisible);
763 VK_CHECK(vk.bindBufferMemory(vkDevice, *m_vertexBuffer, m_vertexBufferAlloc->getMemory(), m_vertexBufferAlloc->getOffset()));
782 vk.flushMappedMemoryRanges(vkDevice, 1, &flushRange);
795 m_cmdPool = createCommandPool(vk, vkDevice, &cmdPoolParams);
864 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferAllocateInfo);
897 m_fence = createFence(vk, vkDevice, &fenceParams);
908 const VkDevice vkDevice = m_context.getDevice();
923 VK_CHECK(vk.resetFences(vkDevice, 1, &m_fence.get()));
925 VK_CHECK(vk.waitForFences(vkDevice, 1, &m_fence.get(), true, ~(0ull) /* infinity*/));
992 const VkDevice vkDevice = m_context.getDevice();
995 SimpleAllocator allocator (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice()));
996 de::UniquePtr<tcu::TextureLevel> result (readColorAttachment(vk, vkDevice, queue, queueFamilyIndex, allocator, *m_colorImage, m_colorFormat, m_renderSize).release());