summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/VulkanManager.cpp
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2019-04-01 16:49:26 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-04-01 16:49:26 +0000
commitb51fda1bc3d6b832021c169abf21b2659e8a34ed (patch)
tree3ec41b85d4c3d048de672cf7046ac7ed354fe8c5 /libs/hwui/renderthread/VulkanManager.cpp
parenta8a14d4bdbfa09f25cf96f941cbeff8d26c28123 (diff)
parentbf99c4450b55a0bee268c382cba8c60796cd068b (diff)
Merge "Invalidate Skia shader cache if Vulkan driver has changed"
Diffstat (limited to 'libs/hwui/renderthread/VulkanManager.cpp')
-rw-r--r--libs/hwui/renderthread/VulkanManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/VulkanManager.cpp b/libs/hwui/renderthread/VulkanManager.cpp
index c92909898652..ac62ff47f50a 100644
--- a/libs/hwui/renderthread/VulkanManager.cpp
+++ b/libs/hwui/renderthread/VulkanManager.cpp
@@ -170,6 +170,7 @@ void VulkanManager::setupDevice(GrVkExtensions& grExtensions, VkPhysicalDeviceFe
VkPhysicalDeviceProperties physDeviceProperties;
mGetPhysicalDeviceProperties(mPhysicalDevice, &physDeviceProperties);
LOG_ALWAYS_FATAL_IF(physDeviceProperties.apiVersion < VK_MAKE_VERSION(1, 1, 0));
+ mDriverVersion = physDeviceProperties.driverVersion;
// query to get the initial queue props size
uint32_t queueCount;