diff options
author | Yiwei Zhang <zzyiwei@google.com> | 2019-10-24 11:04:58 -0700 |
---|---|---|
committer | Yiwei Zhang <zzyiwei@google.com> | 2019-10-24 11:04:58 -0700 |
commit | f8f506c5ad5c51ae95e0675c52017a11be145274 (patch) | |
tree | bd165c0ded09436585b12156be617aec233e1258 | |
parent | 223ebb0e595947c080fa183b3ce9a77437e8c94b (diff) | |
download | native-f8f506c5ad5c51ae95e0675c52017a11be145274.tar.gz |
Vulkan: remove some redundant codes
Bug: 134185757
Test: build
Change-Id: I843f361e31d098bc1f0ab2de67aac1e1161aa351
-rw-r--r-- | vulkan/libvulkan/driver.cpp | 1 | ||||
-rw-r--r-- | vulkan/libvulkan/driver.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/vulkan/libvulkan/driver.cpp b/vulkan/libvulkan/driver.cpp index c3c19ecdff..4aa7d55e12 100644 --- a/vulkan/libvulkan/driver.cpp +++ b/vulkan/libvulkan/driver.cpp @@ -1208,7 +1208,6 @@ VkResult CreateDevice(VkPhysicalDevice physicalDevice, } data->driver_device = dev; - data->driver_version = properties.driverVersion; *pDevice = dev; diff --git a/vulkan/libvulkan/driver.h b/vulkan/libvulkan/driver.h index 61e1818f28..7edadea09d 100644 --- a/vulkan/libvulkan/driver.h +++ b/vulkan/libvulkan/driver.h @@ -98,7 +98,6 @@ struct DeviceData { VkDevice driver_device; DeviceDriverTable driver; - uint32_t driver_version; }; bool Debuggable(); |