summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/driver.cpp
diff options
context:
space:
mode:
author Yiwei Zhang <zzyiwei@google.com> 2020-05-07 22:08:26 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2020-05-07 22:08:26 +0000
commita0e1451620614e7310dab2b18e289f8b55a100f0 (patch)
treee555eb3ba5eff5c5d79bdc7b958b658f5b47fc94 /vulkan/libvulkan/driver.cpp
parent32c19cc8b30818c1bfec2e55fb76144ac1aa47b1 (diff)
parent4264917141fe1f4a38da5f0698c5cc87f7720f80 (diff)
Vulkan: remove the fallback path to load Vulkan driver am: 4264917141
Change-Id: I858d5fc1edbb4bbe2bc5ae4e57262048275c57b9
Diffstat (limited to 'vulkan/libvulkan/driver.cpp')
-rw-r--r--vulkan/libvulkan/driver.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/vulkan/libvulkan/driver.cpp b/vulkan/libvulkan/driver.cpp
index a5f0c9f803..7bcb2c1441 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(