Lines Matching defs:vkDevice

693 	const VkDevice				vkDevice				= context.getDevice();
695 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice()));
719 m_colorImage = createImage(vk, vkDevice, &colorImageParams);
722 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any);
723 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset()));
740 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams);
791 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams);
809 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams);
825 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams);
828 m_vertexShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("attribute_test_vert"), 0);
829 m_fragmentShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("attribute_test_frag"), 0);
1023 m_graphicsPipeline = createGraphicsPipeline(vk, vkDevice, DE_NULL, &graphicsPipelineParams);
1043 Move<VkBuffer> vertexBuffer = createBuffer(vk, vkDevice, &vertexBufferParams);
1044 de::MovePtr<Allocation> vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible);
1046 VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexBufferAlloc->getMemory(), vertexBufferAlloc->getOffset()));
1049 flushMappedMemoryRange(vk, vkDevice, vertexBufferAlloc->getMemory(), vertexBufferAlloc->getOffset(), vertexBufferParams.size);
1066 m_cmdPool = createCommandPool(vk, vkDevice, &cmdPoolParams);
1115 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferAllocateInfo);
1166 m_fence = createFence(vk, vkDevice, &fenceParams);
1173 const VkDevice vkDevice = m_context.getDevice();
1176 vk.destroyBuffer(vkDevice, m_vertexBuffers[bufferNdx], DE_NULL);
1361 const VkDevice vkDevice = m_context.getDevice();
1376 VK_CHECK(vk.resetFences(vkDevice, 1, &m_fence.get()));
1378 VK_CHECK(vk.waitForFences(vkDevice, 1, &m_fence.get(), true, ~(0ull) /* infinity*/));
1436 const VkDevice vkDevice = m_context.getDevice();
1439 SimpleAllocator allocator (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice()));
1440 de::MovePtr<tcu::TextureLevel> result = readColorAttachment(vk, vkDevice, queue, queueFamilyIndex, allocator, *m_colorImage, m_colorFormat, m_renderSize);