Lines Matching defs:device
70 bool isSupportedBlendFormat (const InstanceInterface& instanceInterface, VkPhysicalDevice device, VkFormat format)
74 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps);
1747 const vk::VkDevice device = m_context.getDevice();
1773 vk::ImageWithMemory colorImage (vkd, device, allocator, imageCreateInfo, MemoryRequirement::Any);
1793 auto colorImageView = createImageView(vkd, device, &imageViewCreateInfo);
1796 RenderPassWrapper renderPass(m_params.pipelineConstructionType, vkd, device, m_params.colorFormat);
1812 renderPass.createFramebuffer(vkd, device, &framebufferParams, *colorImage);
1826 const PipelineLayoutWrapper pipelineLayout (m_params.pipelineConstructionType, vkd, device, &pipelineLayoutCreateInfo);
1829 auto vertexShaderModule = ShaderWrapper(vkd, device, m_context.getBinaryCollection().get("color_vert"), 0);
1830 auto fragmentShaderModule = ShaderWrapper(vkd, device, m_context.getBinaryCollection().get("color_frag"), 0);
1907 GraphicsPipelineWrapper graphicsPipeline(vki, vkd, physicalDevice, device, m_context.getDeviceExtensions(), m_params.pipelineConstructionType);
1945 vk::BufferWithMemory vertexBuffer(vkd, device, allocator, bufferCreateInfo, MemoryRequirement::HostVisible);
1949 flushAlloc(vkd, device, vertexBuffer.getAllocation());
1952 auto cmdPool = createCommandPool(vkd, device, vk::VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex);
1955 auto cmdBufferPtr = allocateCommandBuffer(vkd, device, cmdPool.get(), VK_COMMAND_BUFFER_LEVEL_PRIMARY);
1975 submitCommandsAndWait(vkd, device, queue, cmdBuffer);
1996 de::UniquePtr<tcu::TextureLevel> result (readColorAttachment(vkd, device, queue, queueFamilyIndex, allocator, colorImage.get(), m_params.colorFormat, renderSizeUV2).release());