Lines Matching refs:vkDevice
303 const VkDevice vkDevice = m_context.getDevice();
305 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice()));
335 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo);
338 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any);
339 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset()));
356 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams);
407 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams);
425 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams);
441 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams);
444 m_vertexShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("color_vert"), 0);
445 m_fragmentShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("color_frag"), 0);
646 m_graphicsPipelines[quadNdx] = createGraphicsPipeline(vk, vkDevice, DE_NULL, &graphicsPipelineParams);
665 m_vertexBuffer = createBuffer(vk, vkDevice, &vertexBufferParams);
666 m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer), MemoryRequirement::HostVisible);
668 VK_CHECK(vk.bindBufferMemory(vkDevice, *m_vertexBuffer, m_vertexBufferAlloc->getMemory(), m_vertexBufferAlloc->getOffset()));
690 vk.flushMappedMemoryRanges(vkDevice, 1, &flushRange);
703 m_cmdPool = createCommandPool(vk, vkDevice, &cmdPoolParams);
753 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferAllocateInfo);
786 m_fence = createFence(vk, vkDevice, &fenceParams);
797 const VkDevice vkDevice = m_context.getDevice();
812 VK_CHECK(vk.resetFences(vkDevice, 1, &m_fence.get()));
814 VK_CHECK(vk.waitForFences(vkDevice, 1, &m_fence.get(), true, ~(0ull) /* infinity */));
948 const VkDevice vkDevice = m_context.getDevice();
951 SimpleAllocator allocator (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice()));
952 de::UniquePtr<tcu::TextureLevel> result (readColorAttachment(vk, vkDevice, queue, queueFamilyIndex, allocator, *m_colorImage, m_colorFormat, m_renderSize).release());