loader: Improve 1.0 driver apiVersion fixup
authorJohn Zulauf <jzulauf@lunarg.com>
Fri, 30 Mar 2018 22:52:23 +0000 (16:52 -0600)
committerjzulauf-lunarg <32470354+jzulauf-lunarg@users.noreply.github.com>
Tue, 3 Apr 2018 22:35:29 +0000 (16:35 -0600)
commit19306e828c4476ed42d45bca2dddf00d3a03775a
tree0ce9dc372de508c70705e827b3de7926a9c7e331
parent6cf1e8ee66f4ebba633067c753606d94d6994ad3
loader: Improve 1.0 driver apiVersion fixup

The 1.1 loader attempts to avoid VK_ERROR_INCOMPATIBLE_DRIVER from 1.0
drivers by patching up the supplied apiVersion during CreateInstance.
Added support for apiVersions > 0 and < 1.0.

Change-Id: Iae350624c6f9f711890814b48adc3f5a17fdc47b
loader/loader.c