Lines Matching refs:physDev
230 VkInstance inst, VkPhysicalDevice physDev, in init_device_extensions_and_layers() argument
249 res = EnumerateDeviceLayerProperties(physDev, &layerCount, nullptr); in init_device_extensions_and_layers()
254 res = EnumerateDeviceLayerProperties(physDev, &layerCount, layers); in init_device_extensions_and_layers()
274 res = EnumerateDeviceExtensionProperties(physDev, nullptr, &extensionCount, nullptr); in init_device_extensions_and_layers()
279 res = EnumerateDeviceExtensionProperties(physDev, nullptr, &extensionCount, extensions); in init_device_extensions_and_layers()
293 res = EnumerateDeviceExtensionProperties(physDev, in init_device_extensions_and_layers()
300 res = EnumerateDeviceExtensionProperties(physDev, in init_device_extensions_and_layers()
355 static bool setup_features(GrVkGetProc getProc, VkInstance inst, VkPhysicalDevice physDev, in setup_features() argument
402 grVkGetPhysicalDeviceFeatures2(physDev, features); in setup_features()
407 grVkGetPhysicalDeviceFeatures2KHR(physDev, features); in setup_features()
457 VkPhysicalDevice physDev; in CreateVkBackendContext() local
561 err = grVkEnumeratePhysicalDevices(inst, &gpuCount, &physDev); in CreateVkBackendContext()
570 grVkGetPhysicalDeviceProperties(physDev, &physDeviceProperties); in CreateVkBackendContext()
581 grVkGetPhysicalDeviceQueueFamilyProperties(physDev, &queueCount, nullptr); in CreateVkBackendContext()
592 grVkGetPhysicalDeviceQueueFamilyProperties(physDev, &queueCount, queueProps); in CreateVkBackendContext()
612 if (canPresent(inst, physDev, i)) { in CreateVkBackendContext()
632 inst, physDev, in CreateVkBackendContext()
676 extensions->init(getProc, inst, physDev, in CreateVkBackendContext()
690 if (!setup_features(getProc, inst, physDev, physDeviceVersion, extensions, features, in CreateVkBackendContext()
700 grVkGetPhysicalDeviceFeatures(physDev, deviceFeatures); in CreateVkBackendContext()
750 err = grVkCreateDevice(physDev, &deviceInfo, nullptr, &device); in CreateVkBackendContext()
775 ctx->fPhysicalDevice = physDev; in CreateVkBackendContext()