Lines Matching defs:vkDevice

98 																				 VkDevice				vkDevice);
179 Move<VkRenderPass> createRenderPass (const DeviceInterface& vk, VkDevice vkDevice)
255 return createRenderPass(vk, vkDevice, &renderPassInfo);
274 const VkDevice vkDevice = m_context.getDevice();
276 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice()));
301 m_colorImageA = createImage(vk, vkDevice, &colorImageParams);
302 m_colorImageAllocA = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImageA), MemoryRequirement::Any);
303 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImageA, m_colorImageAllocA->getMemory(), m_colorImageAllocA->getOffset()));
305 m_colorImageB = createImage(vk, vkDevice, &colorImageParams);
306 m_colorImageAllocB = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImageB), MemoryRequirement::Any);
307 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImageB, m_colorImageAllocB->getMemory(), m_colorImageAllocB->getOffset()));
322 m_colorAttachmentViewA = createImageView(vk, vkDevice, &colorAttachmentViewParamsA);
335 m_colorAttachmentViewB = createImageView(vk, vkDevice, &colorAttachmentViewParamsB);
347 cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex);
348 cmdBuffer = allocateCommandBuffer(vk, vkDevice, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY);
459 submitCommandsAndWait(vk, vkDevice, m_context.getUniversalQueue(), cmdBuffer.get());
464 m_renderPass = createRenderPass(vk, vkDevice);
485 m_framebufferA = createFramebuffer(vk, vkDevice, &framebufferParamsA);
504 m_framebufferB = createFramebuffer(vk, vkDevice, &framebufferParamsB);
517 m_descriptorSetLayout = createDescriptorSetLayout(vk, vkDevice, &descriptorSetLayoutParams);
530 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams);
551 m_vertexBuffer = createBuffer(vk, vkDevice, &bufferCreateInfo);
552 m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer), MemoryRequirement::HostVisible);
553 VK_CHECK(vk.bindBufferMemory(vkDevice, *m_vertexBuffer, m_vertexBufferAlloc->getMemory(), m_vertexBufferAlloc->getOffset()));
556 flushAlloc(vk, vkDevice, *m_vertexBufferAlloc);
599 m_vertexShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("vert_shader"), 0);
600 m_fragmentShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("frag_shader"), 0);
635 vkDevice, // const VkDevice device
655 vkDevice, // const VkDevice device
675 vkDevice, // const VkDevice device
697 m_cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex);
700 createCommandBuffer(vk, vkDevice);
704 VkDevice vkDevice)
727 m_cmdBufferA = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY);
728 m_cmdBufferB = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY);
791 const VkDevice vkDevice = m_context.getDevice();
794 SimpleAllocator allocator (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice()));
797 const Unique<VkFence> fence (createFence(vk, vkDevice));
816 VK_CHECK(vk.waitForFences(vkDevice, 1u, &fence.get(), DE_TRUE, ~0ull));
827 de::MovePtr<tcu::TextureLevel> imagePixelsA = pipeline::readColorAttachment(vk, vkDevice, queue, queueFamilyIndex, allocator, *m_colorImageA, VK_FORMAT_R32G32B32A32_SFLOAT, m_renderSize);
828 de::MovePtr<tcu::TextureLevel> imagePixelsB = pipeline::readColorAttachment(vk, vkDevice, queue, queueFamilyIndex, allocator, *m_colorImageB, VK_FORMAT_R32G32B32A32_SFLOAT, m_renderSize);