Lines Matching defs:device
148 const VkDevice device,
153 *it = SemaphoreSp(new Unique<VkSemaphore>(createSemaphore(vkd, device)));
157 const VkDevice device,
172 *it = CommandBufferSp(new Unique<VkCommandBuffer>(allocateCommandBuffer(vkd, device, &commandBufferAI)));
177 const VkDevice device,
189 *it = FenceSp(new Unique<VkFence>(createFence(vkd, device, &fenceCI)));
194 const VkDevice device,
208 *it = DeviceMemorySp(new Unique<VkDeviceMemory>(allocateMemory(vkd, device, &alloc)));
213 const VkDevice device,
232 *it = BufferSp(new Unique<VkBuffer>(createBuffer(vkd, device, &bufferCI)));
237 const VkDevice device,
267 *it = ImageSp(new Unique<VkImage>(createImage(vkd, device, &imageCI)));
272 const VkDevice device,
277 *it = EventSp(new Unique<VkEvent>(createEvent(vkd, device)));
281 const VkDevice device,
296 *it = QueryPoolSp(new Unique<VkQueryPool>(createQueryPool(vkd, device, &queryPoolCI)));
301 const VkDevice device,
319 *it = BufferViewSp(new Unique<VkBufferView>(createBufferView(vkd, device, &bufferViewCI)));
324 const VkDevice device,
344 *it = ImageViewSp(new Unique<VkImageView>(createImageView(vkd, device, &imageViewCI)));
349 const VkDevice device,
365 *it = PipelineLayoutSp(new Unique<VkPipelineLayout>(createPipelineLayout(vkd, device, &pipelineLayoutCI)));
370 const VkDevice device,
409 *it = RenderPassSp(new Unique<VkRenderPass>(createRenderPass(vkd, device, &renderPassCI)));
414 const VkDevice device,
587 *it = PipelineSp(new Unique<VkPipeline>(createGraphicsPipeline(vkd, device, (VkPipelineCache)0u, &graphicsPipelineCI)));
592 const VkDevice device,
635 *it = PipelineSp(new Unique<VkPipeline>(createComputePipeline(vkd, device, (VkPipelineCache)0u, &computePipelineCI)));
640 const VkDevice device,
663 *it = DescriptorSetLayoutSp(new Unique<VkDescriptorSetLayout>(createDescriptorSetLayout(vkd, device, &descriptorSetLayoutCI)));
668 const VkDevice device,
695 *it = SamplerSp(new Unique<VkSampler>(createSampler(vkd, device, &samplerCI)));
700 const VkDevice device,
721 *it = DescriptorPoolSp(new Unique<VkDescriptorPool>(createDescriptorPool(vkd, device, &descriptorPoolCI)));
726 const VkDevice device,
742 *it = DescriptorSetSp(new Unique<VkDescriptorSet>(allocateDescriptorSet(vkd, device, &descriptorSetAI)));
747 const VkDevice device,
768 *it = FramebufferSp(new Unique<VkFramebuffer>(createFramebuffer(vkd, device, &framebufferCi)));
773 const VkDevice device,
786 *it = CommandPoolSp(new Unique<VkCommandPool>(createCommandPool(vkd, device, &commandPoolCI)));
791 const VkDevice device,
815 *it = SamplerYcbcrConversionSp(new Unique<VkSamplerYcbcrConversion>(createSamplerYcbcrConversion(vkd, device, &ycbcrConversionCI)));
820 // Creates a device with 0 for all "max" values / and "RequestCounts"
832 VkDevice device);
834 VkDevice device);
892 Move<VkDevice> device = createTestDevice(deviceCreateInfo, objectInfo, sc10Features);
894 deviceDriver = de::MovePtr<DeviceDriverSC, DeinitDeviceDeleter>(new DeviceDriverSC(m_context.getPlatformInterface(), instance, *device, m_context.getTestContext().getCommandLine(), m_context.getResourceInterface(), m_context.getDeviceVulkanSC10Properties(), m_context.getDeviceProperties(), m_context.getUsedApiVersion()),
895 DeinitDeviceDeleter(m_context.getResourceInterface().get(), *device));
897 performTest(*deviceDriver, *device);
899 const VkQueue queue = getDeviceQueue(*deviceDriver, *device, 0, 0);
902 if (!verifyTestResults(*deviceDriver, *device))
920 VkDevice device)
923 createSemaphores(vkd, device, begin(semaphores), end(semaphores));
927 VkDevice device)
930 DE_UNREF(device);
934 // Creates device with multiple VkDeviceObjectReservationCreateInfo and ensures that the limits of an individual VkDeviceObjectReservationCreateInfo can be exceeded.
963 VkDevice device) override
976 VK_CHECK(vkd.allocateMemory(device, &alloc, (const VkAllocationCallbacks*)DE_NULL, &memoryObjects[ndx]));
1049 VkDevice device) override
1051 SimpleAllocator allocator(vkd, device, getPhysicalDeviceMemoryProperties(instance.getDriver(), physicalDevice));
1078 descriptorSetLayout = createDescriptorSetLayout(vkd, device, &layoutCreateInfo);
1105 image = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, allocator, imageCreateInfo, MemoryRequirement::Any));
1132 image = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, allocator, imageCreateInfo, MemoryRequirement::Any));
1159 image = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, allocator, imageCreateInfo, MemoryRequirement::Any));
1173 queryPool = createQueryPool(vkd, device, &queryPoolCreateInfo);
1187 queryPool = createQueryPool(vkd, device, &queryPoolCreateInfo);
1201 queryPool = createQueryPool(vkd, device, &queryPoolCreateInfo);
1399 VkDevice device) override
1401 SimpleAllocator allocator (vkd, device, getPhysicalDeviceMemoryProperties(instance.getDriver(), physicalDevice));
1410 createSemaphores(vkd, device, begin(semaphores), end(semaphores));
1412 createSemaphores(vkd, device, begin(semaphores) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(semaphores));
1414 createSemaphores(vkd, device, begin(semaphores), end(semaphores));
1420 createCommandPools(vkd, device, begin(commandPools), end(commandPools));
1423 createCommandBuffers(vkd, device, commandPools[0]->get(), begin(commandBuffers), end(commandBuffers));
1425 createCommandBuffers(vkd, device, commandPools[0]->get(), begin(commandBuffers) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(commandBuffers));
1427 createCommandBuffers(vkd, device, commandPools[0]->get(), begin(commandBuffers), end(commandBuffers));
1433 createFences(vkd, device, begin(fences), end(fences));
1435 createFences(vkd, device, begin(fences) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(fences));
1437 createFences(vkd, device, begin(fences), end(fences));
1443 allocateDeviceMemory(vkd, device, 16U, begin(mems), end(mems));
1449 createBuffers(vkd, device, 32ull, begin(buffers), end(buffers));
1451 createBuffers(vkd, device, 32ull, begin(buffers) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(buffers));
1453 createBuffers(vkd, device, 32ull, begin(buffers), end(buffers));
1459 createImages(vkd, device, 16u, begin(images), end(images));
1461 createImages(vkd, device, 16u, begin(images) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(images));
1463 createImages(vkd, device, 16u, begin(images), end(images));
1469 createEvents(vkd, device, begin(events), end(events));
1471 createEvents(vkd, device, begin(events) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(events));
1473 createEvents(vkd, device, begin(events), end(events));
1479 createQueryPools(vkd, device, begin(queryPools), end(queryPools));
1485 BufferWithMemory buffer(vkd, device, allocator, bufferCI, MemoryRequirement::HostVisible);
1488 createBufferViews(vkd, device, buffer.get(), 128ull, begin(bufferViews), end(bufferViews));
1490 createBufferViews(vkd, device, buffer.get(), 128ull, begin(bufferViews) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(bufferViews));
1492 createBufferViews(vkd, device, buffer.get(), 128ull, begin(bufferViews), end(bufferViews));
1519 ImageWithMemory image(vkd, device, allocator, imageCI, MemoryRequirement::Any);
1522 createImageViews(vkd, device, image.get(), VK_FORMAT_R8_UNORM, begin(imageViews), end(imageViews));
1524 createImageViews(vkd, device, image.get(), VK_FORMAT_R8_UNORM, begin(imageViews) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(imageViews));
1526 createImageViews(vkd, device, image.get(), VK_FORMAT_R8_UNORM, begin(imageViews), end(imageViews));
1553 ImageWithMemory image(vkd, device, allocator, imageCI, MemoryRequirement::Any);
1556 createImageViews(vkd, device, image.get(), VK_FORMAT_R8_UNORM, begin(imageViews), end(imageViews));
1558 createImageViews(vkd, device, image.get(), VK_FORMAT_R8_UNORM, begin(imageViews) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(imageViews));
1560 createImageViews(vkd, device, image.get(), VK_FORMAT_R8_UNORM, begin(imageViews), end(imageViews));
1566 createPipelineLayouts(vkd, device, begin(pipelineLayouts), end(pipelineLayouts));
1568 createPipelineLayouts(vkd, device, begin(pipelineLayouts) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(pipelineLayouts));
1570 createPipelineLayouts(vkd, device, begin(pipelineLayouts), end(pipelineLayouts));
1589 createRenderPasses(vkd, device, &attachmentDescription, begin(renderPasses), end(renderPasses));
1591 createRenderPasses(vkd, device, &attachmentDescription, begin(renderPasses) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(renderPasses));
1593 createRenderPasses(vkd, device, &attachmentDescription, begin(renderPasses), end(renderPasses));
1611 createRenderPasses(vkd, device, &attachmentDescription, begin(renderPasses), end(renderPasses));
1613 createPipelineLayouts(vkd, device, begin(pipelineLayouts), end(pipelineLayouts));
1614 Move<VkShaderModule> vertexShaderModule = createShaderModule(vkd, device, m_context.getBinaryCollection().get("vertex"), 0u);
1615 Move<VkShaderModule> fragmentShaderModule = createShaderModule(vkd, device, m_context.getBinaryCollection().get("fragment"), 0u);
1618 createGraphicsPipelines(vkd, device, vertexShaderModule.get(), fragmentShaderModule.get(), renderPasses[0]->get(), pipelineLayouts[0]->get(), pipelineDefaultSize, m_context.getResourceInterface(), begin(pipelines), end(pipelines));
1623 createGraphicsPipelines(vkd, device, vertexShaderModule.get(), fragmentShaderModule.get(), renderPasses[0]->get(), pipelineLayouts[0]->get(), pipelineDefaultSize, m_context.getResourceInterface(), begin(pipelines) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(pipelines));
1625 createGraphicsPipelines(vkd, device, vertexShaderModule.get(), fragmentShaderModule.get(), renderPasses[0]->get(), pipelineLayouts[0]->get(), pipelineDefaultSize, m_context.getResourceInterface(), begin(pipelines), end(pipelines));
1633 createPipelineLayouts(vkd, device, begin(pipelineLayouts), end(pipelineLayouts));
1634 Move<VkShaderModule> shaderModule = createShaderModule(vkd, device, m_context.getBinaryCollection().get("compute"), 0u);
1637 createComputePipelines(vkd, device, shaderModule.get(), pipelineLayouts[0]->get(), pipelineDefaultSize, m_context.getResourceInterface(), begin(pipelines), end(pipelines));
1642 createComputePipelines(vkd, device, shaderModule.get(), pipelineLayouts[0]->get(), pipelineDefaultSize, m_context.getResourceInterface(), begin(pipelines) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(pipelines));
1644 createComputePipelines(vkd, device, shaderModule.get(), pipelineLayouts[0]->get(), pipelineDefaultSize, m_context.getResourceInterface(), begin(pipelines), end(pipelines));
1651 createDescriptorSetLayouts(vkd, device, begin(descriptorSetLayouts), end(descriptorSetLayouts));
1653 createDescriptorSetLayouts(vkd, device, begin(descriptorSetLayouts) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(descriptorSetLayouts));
1655 createDescriptorSetLayouts(vkd, device, begin(descriptorSetLayouts), end(descriptorSetLayouts));
1661 createSamplers(vkd, device, begin(samplers), end(samplers));
1663 createSamplers(vkd, device, begin(samplers) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(samplers));
1665 createSamplers(vkd, device, begin(samplers), end(samplers));
1671 createDescriptorPools(vkd, device, 1u, begin(descriptorPools), end(descriptorPools));
1677 createDescriptorSetLayouts(vkd, device, begin(descriptorSetLayouts), end(descriptorSetLayouts));
1679 createDescriptorPools(vkd, device, VERIFYMAXVALUES_OBJECT_COUNT, begin(descriptorPools), end(descriptorPools));
1682 createDescriptorSets(vkd, device, descriptorPools[0]->get(), descriptorSetLayouts[0]->get(), begin(descriptorSets), end(descriptorSets));
1686 createDescriptorSets(vkd, device, descriptorPools[0]->get(), descriptorSetLayouts[0]->get(), begin(descriptorSets) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(descriptorSets));
1688 createDescriptorSets(vkd, device, descriptorPools[0]->get(), descriptorSetLayouts[0]->get(), begin(descriptorSets), end(descriptorSets));
1716 ImageWithMemory image(vkd, device, allocator, imageCI, MemoryRequirement::Any);
1732 createRenderPasses(vkd, device, &attachmentDescription, begin(renderPasses), end(renderPasses));
1735 createImageViews(vkd, device, image.get(), VK_FORMAT_R8G8B8A8_UNORM, begin(imageViews), end(imageViews));
1738 createFramebuffers(vkd, device, renderPasses[0]->get(), imageViews[0]->get(), begin(framebuffers), end(framebuffers));
1740 createFramebuffers(vkd, device, renderPasses[0]->get(), imageViews[0]->get(), begin(framebuffers) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(framebuffers));
1742 createFramebuffers(vkd, device, renderPasses[0]->get(), imageViews[0]->get(), begin(framebuffers), end(framebuffers));
1748 createCommandPools(vkd, device, begin(commandPools), end(commandPools));
1754 createSamplerYcbcrConversions(vkd, device, begin(samplers), end(samplers));
1756 createSamplerYcbcrConversions(vkd, device, begin(samplers) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(samplers));
1758 createSamplerYcbcrConversions(vkd, device, begin(samplers), end(samplers));
1830 VkDevice device) override
1835 Move<VkShaderModule> vertexShader = createShaderModule(vk, device, m_context.getBinaryCollection().get("vertex"), 0);
1836 Move<VkShaderModule> fragmentShader = createShaderModule(vk, device, m_context.getBinaryCollection().get("fragment"), 0);
1880 Move<VkPipelineLayout> pipelineLayout = createPipelineLayout(vk, device, &pipelineLayoutCreateInfo);
1888 Move<VkRenderPass> renderPass = createRenderPass(vk, device, &renderPassCreateInfo);
1925 pipelines.emplace_back(createGraphicsPipeline(vk, device, DE_NULL, &graphicsPipelineCreateInfo));
1930 CreateGraphicsPipelinesFunc createGraphicsPipelinesFunc = (CreateGraphicsPipelinesFunc)getDeviceProcAddrFunc(device, "vkCreateGraphicsPipelines");
1931 DestroyPipelineFunc destroyPipelineFunc = (DestroyPipelineFunc)getDeviceProcAddrFunc(device, "vkDestroyPipeline");
1932 VkPipelineCache pipelineCache = m_context.getResourceInterface()->getPipelineCache(device);
1941 VkResult result = createGraphicsPipelinesFunc(device, pipelineCache, 1u, &graphicsPipelineCreateInfo, DE_NULL, &pipelines[i]);
1947 destroyPipelineFunc(device, pipelines[j], DE_NULL);
1954 destroyPipelineFunc(device, pipelines[i], DE_NULL);
1961 VkDevice device) override
1964 DE_UNREF(device);
2005 // add tests verifying device limits