Lines Matching +full:vulkan +full:- +full:layers
3 // Use of this source code is governed by a BSD-style license that can be
7 // vulkan_icd.cpp : Helper for creating vulkan instances & selecting physical device.
9 #include "common/vulkan/vulkan_icd.h"
70 constexpr char kMockDeviceName[] = "Vulkan Mock Device";
106 // If we're loading the validation layers, we could be running from any random directory.
107 // Change to the executable directory so we can find the layers, then change back to the
118 // Android Vulkan loader doesn't need this either. in ScopedVkLoaderEnvironment()
143 ERR() << "Error getting CWD for Vulkan layers init."; in ScopedVkLoaderEnvironment()
154 ERR() << "Error setting CWD for Vulkan layers init."; in ScopedVkLoaderEnvironment()
162 // Override environment variable to use the ANGLE layers. in ScopedVkLoaderEnvironment()
168 ERR() << "Error setting environment for Vulkan layers init."; in ScopedVkLoaderEnvironment()
252 preferredVendorID != physicalDevicePropertiesOut->vendorID) in ChoosePhysicalDevice()
258 preferredDeviceID != physicalDevicePropertiesOut->deviceID) in ChoosePhysicalDevice()
277 if (physicalDevicePropertiesOut->deviceType == VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU) in ChoosePhysicalDevice()
282 if (physicalDevicePropertiesOut->deviceType == VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU && in ChoosePhysicalDevice()