Home
last modified time | relevance | path

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

123

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktGlobalPriorityQueueUtils.cpp262 VkDeviceCreateInfo deviceCreateInfo {}; in SpecialDevice() local
263 deviceCreateInfo.sType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO; in SpecialDevice()
264 deviceCreateInfo.queueCreateInfoCount = 2; in SpecialDevice()
265 deviceCreateInfo.pQueueCreateInfos = queueCreateInfos; in SpecialDevice()
267 deviceCreateInfo.pEnabledFeatures = &deviceFeatures; in SpecialDevice()
268 deviceCreateInfo.enabledExtensionCount = static_cast<deUint32>(extensions.size()); in SpecialDevice()
269 deviceCreateInfo.ppEnabledExtensionNames = de::dataOrNull(extensions); in SpecialDevice()
270 deviceCreateInfo.ppEnabledLayerNames = nullptr; in SpecialDevice()
271 deviceCreateInfo.enabledLayerCount = 0; in SpecialDevice()
273 m_creationResult = vki.createDevice(dev, &deviceCreateInfo, nullptr, &m_device); in SpecialDevice()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
DvktGlobalPriorityQueueUtils.cpp262 VkDeviceCreateInfo deviceCreateInfo {}; in SpecialDevice() local
263 deviceCreateInfo.sType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO; in SpecialDevice()
264 deviceCreateInfo.queueCreateInfoCount = 2; in SpecialDevice()
265 deviceCreateInfo.pQueueCreateInfos = queueCreateInfos; in SpecialDevice()
267 deviceCreateInfo.pEnabledFeatures = &deviceFeatures; in SpecialDevice()
268 deviceCreateInfo.enabledExtensionCount = static_cast<deUint32>(extensions.size()); in SpecialDevice()
269 deviceCreateInfo.ppEnabledExtensionNames = de::dataOrNull(extensions); in SpecialDevice()
270 deviceCreateInfo.ppEnabledLayerNames = nullptr; in SpecialDevice()
271 deviceCreateInfo.enabledLayerCount = 0; in SpecialDevice()
273 m_creationResult = vki.createDevice(dev, &deviceCreateInfo, nullptr, &m_device); in SpecialDevice()
/third_party/skia/third_party/externals/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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sc/
DvktPipelineCacheSCTests.cpp273 VkDeviceCreateInfo deviceCreateInfo = in createPipelineCacheTest() local
321 deviceCreateInfo.pNext = pNext; in createPipelineCacheTest()
328 …if (deviceCreateInfo.enabledLayerCount == 0u && context.getTestContext().getCommandLine().isValida… in createPipelineCacheTest()
331 deviceCreateInfo.enabledLayerCount = static_cast<deUint32>(enabledLayers.size()); in createPipelineCacheTest()
332 deviceCreateInfo.ppEnabledLayerNames = (enabledLayers.empty() ? DE_NULL : enabledLayers.data()); in createPipelineCacheTest()
335 …VkResult result = instanceDriver.createDevice(physicalDevice, &deviceCreateInfo, DE_NULL, &object… in createPipelineCacheTest()
DvktDeviceObjectReservationTests.cpp827 virtual Move<VkDevice> createTestDevice (VkDeviceCreateInfo& deviceCreateInfo,
864 VkDeviceCreateInfo deviceCreateInfo = in iterate() local
889 deviceCreateInfo.pNext = pNext; in iterate()
891 Move<VkDevice> device = createTestDevice(deviceCreateInfo, objectInfo, sc10Features); in iterate()
906 …evice> DeviceObjectReservationInstance::createTestDevice (VkDeviceCreateInfo& deviceCreateInfo, in createTestDevice() argument
915 …context.getPlatformInterface(), instance, instance.getDriver(), physicalDevice, &deviceCreateInfo); in createTestDevice()
942 Move<VkDevice> createTestDevice (VkDeviceCreateInfo& deviceCreateInfo, in createTestDevice() argument
958 …context.getPlatformInterface(), instance, instance.getDriver(), physicalDevice, &deviceCreateInfo); in createTestDevice()
998 Move<VkDevice> createTestDevice (VkDeviceCreateInfo& deviceCreateInfo, in createTestDevice() argument
1044 …context.getPlatformInterface(), instance, instance.getDriver(), physicalDevice, &deviceCreateInfo); in createTestDevice()
[all …]
DvktFaultHandlingTests.cpp215 VkDeviceCreateInfo deviceCreateInfo = in testCreateDeviceWithFaultCallbackInfo() local
229 …ed(), context.getPlatformInterface(), instance, instanceDriver, physicalDevice, &deviceCreateInfo); in testCreateDeviceWithFaultCallbackInfo()
DvktApplicationParametersTests.cpp252 VkDeviceCreateInfo deviceCreateInfo = in createDeviceTest() local
269 …const VkResult result = instanceDriver.createDevice(physicalDevice, &deviceCreateInfo, DE_NULL, &… in createDeviceTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sc/
DvktPipelineCacheSCTests.cpp273 VkDeviceCreateInfo deviceCreateInfo = in createPipelineCacheTest() local
321 deviceCreateInfo.pNext = pNext; in createPipelineCacheTest()
328 …if (deviceCreateInfo.enabledLayerCount == 0u && context.getTestContext().getCommandLine().isValida… in createPipelineCacheTest()
331 deviceCreateInfo.enabledLayerCount = static_cast<deUint32>(enabledLayers.size()); in createPipelineCacheTest()
332 deviceCreateInfo.ppEnabledLayerNames = (enabledLayers.empty() ? DE_NULL : enabledLayers.data()); in createPipelineCacheTest()
335 …VkResult result = instanceDriver.createDevice(physicalDevice, &deviceCreateInfo, DE_NULL, &object… in createPipelineCacheTest()
DvktDeviceObjectReservationTests.cpp827 virtual Move<VkDevice> createTestDevice (VkDeviceCreateInfo& deviceCreateInfo,
864 VkDeviceCreateInfo deviceCreateInfo = in iterate() local
889 deviceCreateInfo.pNext = pNext; in iterate()
891 Move<VkDevice> device = createTestDevice(deviceCreateInfo, objectInfo, sc10Features); in iterate()
906 …evice> DeviceObjectReservationInstance::createTestDevice (VkDeviceCreateInfo& deviceCreateInfo, in createTestDevice() argument
915 …context.getPlatformInterface(), instance, instance.getDriver(), physicalDevice, &deviceCreateInfo); in createTestDevice()
942 Move<VkDevice> createTestDevice (VkDeviceCreateInfo& deviceCreateInfo, in createTestDevice() argument
958 …context.getPlatformInterface(), instance, instance.getDriver(), physicalDevice, &deviceCreateInfo); in createTestDevice()
998 Move<VkDevice> createTestDevice (VkDeviceCreateInfo& deviceCreateInfo, in createTestDevice() argument
1044 …context.getPlatformInterface(), instance, instance.getDriver(), physicalDevice, &deviceCreateInfo); in createTestDevice()
[all …]
DvktFaultHandlingTests.cpp215 VkDeviceCreateInfo deviceCreateInfo = in testCreateDeviceWithFaultCallbackInfo() local
229 …ed(), context.getPlatformInterface(), instance, instanceDriver, physicalDevice, &deviceCreateInfo); in testCreateDeviceWithFaultCallbackInfo()
DvktApplicationParametersTests.cpp252 VkDeviceCreateInfo deviceCreateInfo = in createDeviceTest() local
269 …const VkResult result = instanceDriver.createDevice(physicalDevice, &deviceCreateInfo, DE_NULL, &… in createDeviceTest()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiDeviceInitializationTests.cpp675 const VkDeviceCreateInfo deviceCreateInfo = in createDeviceTest() local
689 …idationEnabled(), platformInterface, instance, instanceDriver, physicalDevice, &deviceCreateInfo)); in createDeviceTest()
747 const VkDeviceCreateInfo deviceCreateInfo = in createMultipleDevicesTest() local
761 …mmandLine().isValidationEnabled(), instanceDriver, physicalDevice, &deviceCreateInfo, DE_NULL/*pAl… in createMultipleDevicesTest()
837 const VkDeviceCreateInfo deviceCreateInfo = in createDeviceWithUnsupportedExtensionsTest() local
858 …mmandLine().isValidationEnabled(), instanceDriver, physicalDevice, &deviceCreateInfo, DE_NULL/*pAl… in createDeviceWithUnsupportedExtensionsTest()
935 const VkDeviceCreateInfo deviceCreateInfo = in createDeviceWithVariousQueueCountsTest() local
949 …idationEnabled(), platformInterface, instance, instanceDriver, physicalDevice, &deviceCreateInfo)); in createDeviceWithVariousQueueCountsTest()
951 const deUint32 queueFamilyIndex = deviceCreateInfo.pQueueCreateInfos->queueFamilyIndex; in createDeviceWithVariousQueueCountsTest()
952 const deUint32 queueCount = deviceCreateInfo.pQueueCreateInfos->queueCount; in createDeviceWithVariousQueueCountsTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiDeviceInitializationTests.cpp675 const VkDeviceCreateInfo deviceCreateInfo = in createDeviceTest() local
689 …idationEnabled(), platformInterface, instance, instanceDriver, physicalDevice, &deviceCreateInfo)); in createDeviceTest()
747 const VkDeviceCreateInfo deviceCreateInfo = in createMultipleDevicesTest() local
761 …mmandLine().isValidationEnabled(), instanceDriver, physicalDevice, &deviceCreateInfo, DE_NULL/*pAl… in createMultipleDevicesTest()
837 const VkDeviceCreateInfo deviceCreateInfo = in createDeviceWithUnsupportedExtensionsTest() local
858 …mmandLine().isValidationEnabled(), instanceDriver, physicalDevice, &deviceCreateInfo, DE_NULL/*pAl… in createDeviceWithUnsupportedExtensionsTest()
935 const VkDeviceCreateInfo deviceCreateInfo = in createDeviceWithVariousQueueCountsTest() local
949 …idationEnabled(), platformInterface, instance, instanceDriver, physicalDevice, &deviceCreateInfo)); in createDeviceWithVariousQueueCountsTest()
951 const deUint32 queueFamilyIndex = deviceCreateInfo.pQueueCreateInfos->queueFamilyIndex; in createDeviceWithVariousQueueCountsTest()
952 const deUint32 queueCount = deviceCreateInfo.pQueueCreateInfos->queueCount; in createDeviceWithVariousQueueCountsTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/amber/
DvktAmberDepthTests.cpp94 const VkDeviceCreateInfo deviceCreateInfo = in createInstance() local
108 …face(), ctx.getInstance(), ctx.getInstanceInterface(), ctx.getPhysicalDevice(), &deviceCreateInfo); in createInstance()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/amber/
DvktAmberDepthTests.cpp94 const VkDeviceCreateInfo deviceCreateInfo = in createInstance() local
108 …face(), ctx.getInstance(), ctx.getInstanceInterface(), ctx.getPhysicalDevice(), &deviceCreateInfo); in createInstance()
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_KHR_get_physical_device_properties2.txt86 VkDeviceCreateInfo deviceCreateInfo =
95 vkCreateDevice(physicalDevice, &deviceCreateInfo, NULL, &device);
DVK_KHR_get_physical_device_properties2.adoc86 VkDeviceCreateInfo deviceCreateInfo =
95 vkCreateDevice(physicalDevice, &deviceCreateInfo, NULL, &device);
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanExternalHelper.cpp248 VkDeviceCreateInfo deviceCreateInfo = { in initialize() local
261 result = vkCreateDevice(mPhysicalDevice, &deviceCreateInfo, nullptr, &mDevice); in initialize()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/
DDevice.cpp80 const VkDeviceCreateInfo deviceCreateInfo = { in CreateComputeDevice() local
94 result = driver->vkCreateDevice(physicalDevice, &deviceCreateInfo, nullptr, &device); in CreateComputeDevice()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem/
DvktPostmortemDeviceFaultTests.cpp161 const VkDeviceCreateInfo deviceCreateInfo in CustomDevice() local
175 …(useValidation, platformInterface, instance, instanceInterface, physicalDevice, &deviceCreateInfo); in CustomDevice()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/postmortem/
DvktPostmortemDeviceFaultTests.cpp161 const VkDeviceCreateInfo deviceCreateInfo in CustomDevice() local
175 …(useValidation, platformInterface, instance, instanceInterface, physicalDevice, &deviceCreateInfo); in CustomDevice()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanHelper.cpp318 VkDeviceCreateInfo deviceCreateInfo = { in initialize() local
331 result = vkCreateDevice(mPhysicalDevice, &deviceCreateInfo, nullptr, &mDevice); in initialize()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiSurfaceTests.cpp1249 const VkDeviceCreateInfo deviceCreateInfo = in queryDevGroupSurfacePresentCapabilitiesTest() local
1263 …ance, instHelper.vki, deviceGroupProps[devGroupIdx].physicalDevices[deviceIdx], &deviceCreateInfo); in queryDevGroupSurfacePresentCapabilitiesTest()
1359 const VkDeviceCreateInfo deviceCreateInfo = in queryDevGroupSurfacePresentModesTest() local
1373 …ance, instHelper.vki, deviceGroupProps[devGroupIdx].physicalDevices[deviceIdx], &deviceCreateInfo); in queryDevGroupSurfacePresentModesTest()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/
DvktWsiSurfaceTests.cpp1249 const VkDeviceCreateInfo deviceCreateInfo = in queryDevGroupSurfacePresentCapabilitiesTest() local
1263 …ance, instHelper.vki, deviceGroupProps[devGroupIdx].physicalDevices[deviceIdx], &deviceCreateInfo); in queryDevGroupSurfacePresentCapabilitiesTest()
1359 const VkDeviceCreateInfo deviceCreateInfo = in queryDevGroupSurfacePresentModesTest() local
1373 …ance, instHelper.vki, deviceGroupProps[devGroupIdx].physicalDevices[deviceIdx], &deviceCreateInfo); in queryDevGroupSurfacePresentModesTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/
DvktCustomInstancesDevices.cpp861 const vk::VkDeviceCreateInfo deviceCreateInfo = in createDeviceSupportingQueue() local
875 …e = createCustomDevice(validationEnabled, vkp, instance, vki, physicalDevice, &deviceCreateInfo); in createDeviceSupportingQueue()

123