Fix VulkanPlatform compiling and linking on OSX
authorDzmitry Malyshau <dmalyshau@mozilla.com>
Wed, 9 May 2018 18:15:26 +0000 (14:15 -0400)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 22 May 2018 09:36:24 +0000 (05:36 -0400)
commitbe86ae503c80b80fcba4b4346fd2e23f7e0eca88
tree534b485177ef987c144adabc59a7f6305e7411d0
parente7bd336a2791563007ff6a78db8be397f8272922
Fix VulkanPlatform compiling and linking on OSX

There where 2 problems with the code:
  1. it broke upon the change to vk::Library interface,
since OSX is not yet CI tested
  2. it didn't link against OpenGL library for Default target,
which appears to be required for anything on OSX

The latter was always an issue, but one we could work around locally.
I believe the proposed upstream patch is clean enough to avoid our hacks.

Change-Id: I9b570e3700031d92367a815baf5b32f751e248b3
Components: Framework
framework/platform/osx/tcuOSXVulkanPlatform.cpp
targets/default/default.cmake