Home
last modified time | relevance | path

Searched refs:deviceCreateInfo (Results 1 – 15 of 15) sorted by relevance

/external/swiftshader/tests/VulkanWrapper/
DVulkanTester.cpp345 vk::DeviceCreateInfo deviceCreateInfo; in initialize() local
346 deviceCreateInfo.queueCreateInfoCount = 1; in initialize()
347 deviceCreateInfo.pQueueCreateInfos = &queueCreateInfo; in initialize()
348 deviceCreateInfo.ppEnabledExtensionNames = deviceExtensions.data(); in initialize()
349 deviceCreateInfo.enabledExtensionCount = static_cast<uint32_t>(deviceExtensions.size()); in initialize()
351 device = physicalDevice.createDevice(deviceCreateInfo, nullptr); in initialize()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiDeviceInitializationTests.cpp634 const VkDeviceCreateInfo deviceCreateInfo = in createDeviceTest() local
648 …idationEnabled(), platformInterface, instance, instanceDriver, physicalDevice, &deviceCreateInfo)); in createDeviceTest()
681 const VkDeviceCreateInfo deviceCreateInfo = in createMultipleDevicesTest() local
701 …mmandLine().isValidationEnabled(), instanceDriver, physicalDevice, &deviceCreateInfo, DE_NULL/*pAl… in createMultipleDevicesTest()
766 const VkDeviceCreateInfo deviceCreateInfo = in createDeviceWithUnsupportedExtensionsTest() local
787 …mmandLine().isValidationEnabled(), instanceDriver, physicalDevice, &deviceCreateInfo, DE_NULL/*pAl… in createDeviceWithUnsupportedExtensionsTest()
853 const VkDeviceCreateInfo deviceCreateInfo = in createDeviceWithVariousQueueCountsTest() local
867 …idationEnabled(), platformInterface, instance, instanceDriver, physicalDevice, &deviceCreateInfo)); in createDeviceWithVariousQueueCountsTest()
869 const deUint32 queueFamilyIndex = deviceCreateInfo.pQueueCreateInfos->queueFamilyIndex; in createDeviceWithVariousQueueCountsTest()
870 const deUint32 queueCount = deviceCreateInfo.pQueueCreateInfos->queueCount; in createDeviceWithVariousQueueCountsTest()
[all …]
DvktApiFeatureInfo.cpp1534 const VkDeviceCreateInfo deviceCreateInfo = in createTestDevice() local
1547 …lidationEnabled, platformInterface, *instance, instanceDriver, physicalDevice, &deviceCreateInfo)); in createTestDevice()
2720 const VkDeviceCreateInfo deviceCreateInfo = in deviceGroupPeerMemoryFeatures() local
2734 …, vkp, instance, vki, deviceGroupProps[devGroupIdx].physicalDevices[deviceIdx], &deviceCreateInfo); in deviceGroupPeerMemoryFeatures()
DvktApiExternalMemoryTests.cpp362 const vk::VkDeviceCreateInfo deviceCreateInfo = in createTestDevice() local
381 …t().getCommandLine().isValidationEnabled(), vkp, instance, vki, physicalDevice, &deviceCreateInfo); in createTestDevice()
/external/llvm-project/mlir/tools/mlir-vulkan-runner/
DVulkanRuntime.cpp279 VkDeviceCreateInfo deviceCreateInfo = {}; in createDevice() local
280 deviceCreateInfo.sType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO; in createDevice()
281 deviceCreateInfo.pNext = nullptr; in createDevice()
282 deviceCreateInfo.flags = 0; in createDevice()
283 deviceCreateInfo.queueCreateInfoCount = 1; in createDevice()
284 deviceCreateInfo.pQueueCreateInfos = &deviceQueueCreateInfo; in createDevice()
285 deviceCreateInfo.enabledLayerCount = 0; in createDevice()
286 deviceCreateInfo.ppEnabledLayerNames = nullptr; in createDevice()
287 deviceCreateInfo.enabledExtensionCount = 0; in createDevice()
288 deviceCreateInfo.ppEnabledExtensionNames = nullptr; in createDevice()
[all …]
/external/angle/third_party/vulkan_memory_allocator/src/
DVulkanSample.cpp1518 VkDeviceCreateInfo deviceCreateInfo = { VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO }; in InitializeApplication() local
1519 deviceCreateInfo.pNext = &deviceFeatures; in InitializeApplication()
1520 deviceCreateInfo.enabledLayerCount = 0; in InitializeApplication()
1521 deviceCreateInfo.ppEnabledLayerNames = nullptr; in InitializeApplication()
1522 deviceCreateInfo.enabledExtensionCount = (uint32_t)enabledDeviceExtensions.size(); in InitializeApplication()
1523deviceCreateInfo.ppEnabledExtensionNames = !enabledDeviceExtensions.empty() ? enabledDeviceExtensi… in InitializeApplication()
1524 deviceCreateInfo.queueCreateInfoCount = queueCount; in InitializeApplication()
1525 deviceCreateInfo.pQueueCreateInfos = queueCreateInfo; in InitializeApplication()
1527 ERR_GUARD_VULKAN( vkCreateDevice(g_hPhysicalDevice, &deviceCreateInfo, g_Allocs, &g_hDevice) ); in InitializeApplication()
/external/swiftshader/tests/VulkanUnitTests/
DDevice.cpp80 const VkDeviceCreateInfo deviceCreateInfo = { in CreateComputeDevice() local
94 result = driver->vkCreateDevice(physicalDevice, &deviceCreateInfo, nullptr, &device); in CreateComputeDevice()
/external/deqp/external/vulkancts/modules/vulkan/fragment_shader_interlock/
DvktFragmentShaderInterlockBasic.cpp124 const VkDeviceCreateInfo deviceCreateInfo = in getDevice() local
138 …ext.getInstance(), context.getInstanceInterface(), context.getPhysicalDevice(), &deviceCreateInfo); in getDevice()
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSurfaceTests.cpp974 const VkDeviceCreateInfo deviceCreateInfo = in queryDevGroupSurfacePresentCapabilitiesTest() local
988 …ance, instHelper.vki, deviceGroupProps[devGroupIdx].physicalDevices[deviceIdx], &deviceCreateInfo); in queryDevGroupSurfacePresentCapabilitiesTest()
1084 const VkDeviceCreateInfo deviceCreateInfo = in queryDevGroupSurfacePresentModesTest() local
1098 …ance, instHelper.vki, deviceGroupProps[devGroupIdx].physicalDevices[deviceIdx], &deviceCreateInfo); in queryDevGroupSurfacePresentModesTest()
DvktWsiSwapchainTests.cpp1766 const VkDeviceCreateInfo deviceCreateInfo = in deviceGroupRenderTest() local
1780 …face(), instHelper.instance, instHelper.vki, physicalDevicesInGroup[deviceIdx], &deviceCreateInfo); in deviceGroupRenderTest()
1997 const VkDeviceCreateInfo deviceCreateInfo = in deviceGroupRenderTest2() local
2011 …face(), instHelper.instance, instHelper.vki, physicalDevicesInGroup[deviceIdx], &deviceCreateInfo); in deviceGroupRenderTest2()
/external/angle/src/tests/test_utils/
DVulkanExternalHelper.cpp311 VkDeviceCreateInfo deviceCreateInfo = { in initialize() local
324 result = vkCreateDevice(mPhysicalDevice, &deviceCreateInfo, nullptr, &mDevice); in initialize()
/external/angle/third_party/vulkan_memory_allocator/src/VmaReplay/
DVmaReplay.cpp2242 VkDeviceCreateInfo deviceCreateInfo = { VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO }; in InitVulkan() local
2243 deviceCreateInfo.enabledExtensionCount = (uint32_t)enabledDeviceExtensions.size(); in InitVulkan()
2244deviceCreateInfo.ppEnabledExtensionNames = !enabledDeviceExtensions.empty() ? enabledDeviceExtensi… in InitVulkan()
2245deviceCreateInfo.queueCreateInfoCount = m_TransferQueueFamilyIndex != m_GraphicsQueueFamilyIndex ?… in InitVulkan()
2246 deviceCreateInfo.pQueueCreateInfos = deviceQueueCreateInfo; in InitVulkan()
2247 deviceCreateInfo.pEnabledFeatures = &enabledFeatures; in InitVulkan()
2249 res = vkCreateDevice(m_PhysicalDevice, &deviceCreateInfo, nullptr, &m_Device); in InitVulkan()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryDeviceMemoryReportTests.cpp198 const VkDeviceCreateInfo deviceCreateInfo = in createDeviceWithMemoryReport() local
212 …urn createCustomDevice(isValidationEnabled, vkp, instance, vki, physicalDevice, &deviceCreateInfo); in createDeviceWithMemoryReport()
2025 const VkDeviceCreateInfo deviceCreateInfo = in createExternalMemoryDevice() local
2039 …urn createCustomDevice(isValidationEnabled, vkp, instance, vki, physicalDevice, &deviceCreateInfo); in createExternalMemoryDevice()
/external/deqp/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp313 const VkDeviceCreateInfo deviceCreateInfo = in init() local
326 …latformInterface(), m_context.getInstance(), instanceInterface, physicalDevice, &deviceCreateInfo); in init()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassFragmentDensityMapTests.cpp163 const VkDeviceCreateInfo deviceCreateInfo = in getDevice() local
177 …ext.getInstance(), context.getInstanceInterface(), context.getPhysicalDevice(), &deviceCreateInfo); in getDevice()