commit | c889d3c5763d34ecfff99cff8df1c6e85aac00d0 | [log] [tgz] |
---|---|---|
author | Yiwei Zhang <zzyiwei@google.com> | Thu Jul 16 13:51:12 2020 -0700 |
committer | Yiwei Zhang <zzyiwei@google.com> | Thu Jul 16 15:45:36 2020 -0700 |
tree | d4dd65f8af9cc8a4fb9f42b01fbfadb9dc3b15bf | |
parent | 8dcf124c0894e90b932ff5501892dacc37f36fad [diff] |
libvulkan: make vkEnumerateInstanceVersion trigger driver loading This is a globally dispatched api, and it's the best option to preload the driver in Zygote with minimum overhead. This change also updates some return codes according to the spec. Bug: 135536511 Test: take a trace and verify driver is loaded Change-Id: I6fe425ec568b13577d3d9471aa5f181cff44c61c