Lines Matching refs:device
719 // Check support for the tessellation and geometry shaders on the device
813 Move<VkBuffer> makeBuffer (const DeviceInterface& vk, const VkDevice device, const VkDeviceSize bufferSize, const VkBufferUsageFlags usage)
816 return createBuffer(vk, device, &bufferCreateInfo);
954 const VkDevice device = context.getDevice();
964 const ImageWithMemory colorImage (vk, device, allocator, makeImageCreateInfo(renderSize, imageFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT), MemoryRequirement::Any);
965 const Unique<VkImageView> colorImageView (makeImageView(vk, device, *colorImage, VK_IMAGE_VIEW_TYPE_2D, imageFormat, makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, 0u, 1u)));
967 Move<VkBuffer> colorBuffer = vkt::pipeline::makeBuffer(vk, device, colorBufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT);
968 MovePtr<Allocation> colorBufferAlloc = bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible);
984 flushAlloc(vk, device, *vertexBufferMemory);
1022 RenderPassWrapper renderPass (param.pipelineConstructionType, vk, device, imageFormat);
1023 renderPass.createFramebuffer(vk, device, 1u, &colorImage.get(), &colorImageView.get(), static_cast<deUint32>(renderSize.x()), static_cast<deUint32>(renderSize.y()));
1024 const PipelineLayoutWrapper pipelineLayout (param.pipelineConstructionType, vk, device);
1025 const Unique<VkCommandPool> cmdPool (createCommandPool (vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex));
1026 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer (vk, device, *cmdPool));
1033 ShaderWrapper vertShaderModule = ShaderWrapper(vk, device, binaryCollection.get("vert"), 0u);
1037 ShaderWrapper fragShaderModule = ShaderWrapper(vk, device, binaryCollection.get("frag"), 0u);
1042 tescShaderModule = ShaderWrapper(vk, device, binaryCollection.get("tcs"), 0u);
1043 teseShaderModule = ShaderWrapper(vk, device, binaryCollection.get("tes"), 0u);
1047 geomShaderModule = ShaderWrapper(vk, device, binaryCollection.get("geom"), 0u);
1049 GraphicsPipelineWrapper graphicsPipeline(vki, vk, physicalDevice, device, context.getDeviceExtensions(), param.pipelineConstructionType);
1111 submitCommandsAndWait(vk, device, queue, *cmdBuffer);
1115 invalidateAlloc(vk, device, *colorBufferAlloc);