commit | b36f4ee53d0ca467d88692ebbe681b7d45c062d2 | [log] [tgz] |
---|---|---|
author | Ian Elliott <ianelliott@google.com> | Mon May 08 15:59:09 2017 -0600 |
committer | Ian Elliott <ianelliott@google.com> | Mon May 08 15:59:09 2017 -0600 |
tree | e376cc1ef2f3041223c0b88687ffd532a84e6cca | |
parent | 584bc3cebf3f23d378fc7ed06e71c5d1722373dd [diff] |
Return an error if apiVersion is 1.1+. The Vulkan loader is supposed to check the requested apiVersion and return VK_ERROR_INCOMPATIBLE_DRIVER if the requested version is not supported. The loader wasn't performing the check, nor returning the error. A log message is also issued, explaining why the application failed to create an instance. Bug: 38040828 Test: Modify cube to use 1.0 or 1.1 and ensure proper return value. Change-Id: I8cc792305a346c6e1db40f61d5235c301d8ae848