KhronosGroup / Vulkan-LoaderAndValidationLayers

**Deprecated repository** for Vulkan loader and validation layers
Apache License 2.0
414 stars 172 forks source link

loader: Fix a 1.0/1.1 versioning bug #2596

Closed lenny-lunarg closed 6 years ago

lenny-lunarg commented 6 years ago

Fix a bug where when mixing a 1.0 and a 1.1 driver, if the loader stores the 1.0 driver first, the apiVersion field in vkCreateInstance will be rewritten to 1.0 for both drivers. Now it will only be changed for the 1.0 driver, as intended.

Change-Id: I9e7c5e0b0b7c0eb660082319dcddd9e8ef8adc61