diff options
| author | 2020-05-07 22:38:33 +0000 | |
|---|---|---|
| committer | 2020-05-07 22:38:33 +0000 | |
| commit | 3aef6969a778f0d20e8e2d6bcbccd4e555342cba (patch) | |
| tree | e3a0c5281bb18c1d862f6c9743193ceccf5ab27f /vulkan/libvulkan/driver.cpp | |
| parent | df24024772be5e35cc131d9546518f7310eb7fc0 (diff) | |
| parent | 2cb450b42f5bc90d69078108d6b14e1692fb94ad (diff) | |
Vulkan: remove the fallback path to load Vulkan driver am: 4264917141 am: a0e1451620 am: 2cb450b42f
Change-Id: If4f53a33f6cb8d99506222b19dce38e037e99254
Diffstat (limited to 'vulkan/libvulkan/driver.cpp')
| -rw-r--r-- | vulkan/libvulkan/driver.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/vulkan/libvulkan/driver.cpp b/vulkan/libvulkan/driver.cpp index 22122a558c..74ef0e7073 100644 --- a/vulkan/libvulkan/driver.cpp +++ b/vulkan/libvulkan/driver.cpp @@ -252,18 +252,6 @@ bool Hal::Open() { result = LoadUpdatedDriver(&module); if (result == -ENOENT) { result = LoadBuiltinDriver(&module); - if (result != 0) { - // -ENOENT means the sphal namespace doesn't exist, not that there - // is a problem with the driver. - ALOGW_IF( - result != -ENOENT, - "Failed to load Vulkan driver into sphal namespace. This " - "usually means the driver has forbidden library dependencies." - "Please fix, this will soon stop working."); - result = - hw_get_module(HWVULKAN_HARDWARE_MODULE_ID, - reinterpret_cast<const hw_module_t**>(&module)); - } } if (result != 0) { android::GraphicsEnv::getInstance().setDriverLoaded( |