Lines Matching refs:physDev
248 VkInstance inst, VkPhysicalDevice physDev, in init_device_extensions_and_layers() argument
267 res = EnumerateDeviceLayerProperties(physDev, &layerCount, nullptr); in init_device_extensions_and_layers()
272 res = EnumerateDeviceLayerProperties(physDev, &layerCount, layers); in init_device_extensions_and_layers()
293 res = EnumerateDeviceExtensionProperties(physDev, nullptr, &extensionCount, nullptr); in init_device_extensions_and_layers()
298 res = EnumerateDeviceExtensionProperties(physDev, nullptr, &extensionCount, extensions); in init_device_extensions_and_layers()
313 res = EnumerateDeviceExtensionProperties(physDev, in init_device_extensions_and_layers()
320 res = EnumerateDeviceExtensionProperties(physDev, in init_device_extensions_and_layers()
391 static bool setup_features(skgpu::VulkanGetProc getProc, VkInstance inst, VkPhysicalDevice physDev, in setup_features() argument
438 grVkGetPhysicalDeviceFeatures2(physDev, features); in setup_features()
443 grVkGetPhysicalDeviceFeatures2KHR(physDev, features); in setup_features()
650 VkPhysicalDevice physDev = physDevs.front(); in CreateVkBackendContext() local
653 grVkGetPhysicalDeviceProperties(physDev, &physDeviceProperties); in CreateVkBackendContext()
664 grVkGetPhysicalDeviceQueueFamilyProperties(physDev, &queueCount, nullptr); in CreateVkBackendContext()
675 grVkGetPhysicalDeviceQueueFamilyProperties(physDev, &queueCount, queueProps); in CreateVkBackendContext()
695 if (canPresent(inst, physDev, i)) { in CreateVkBackendContext()
715 inst, physDev, in CreateVkBackendContext()
762 extensions->init(getProc, inst, physDev, in CreateVkBackendContext()
776 if (!setup_features(getProc, inst, physDev, physDeviceVersion, extensions, features, in CreateVkBackendContext()
786 grVkGetPhysicalDeviceFeatures(physDev, deviceFeatures); in CreateVkBackendContext()
836 err = grVkCreateDevice(physDev, &deviceInfo, nullptr, &device); in CreateVkBackendContext()
861 ctx->fPhysicalDevice = physDev; in CreateVkBackendContext()