OSDN Git Service

vulkan: advertise VK_EXT_debug_report
authorChia-I Wu <olv@google.com>
Mon, 23 May 2016 07:31:02 +0000 (15:31 +0800)
committerChia-I Wu <olv@google.com>
Mon, 23 May 2016 23:53:18 +0000 (07:53 +0800)
commit319382517afe913285df5bbf76a8a484e6adfbd0
tree9d14ec5b241174a9c513559db26b01c6c1afd1df
parent31b2e4f01d31aae107340cbc4221b8d49fb42767
vulkan: advertise VK_EXT_debug_report

We use VK_EXT_debug_report to report most messages and we should always
advertise the extension.  This is complicated however because the HAL may
also advertise the extension.

Do the minimal and cache whether the HAL supports VK_EXT_debug_report in
class Hal.  More refactorings will be required if we want to be more
flexible.

Bug: 28753291
Change-Id: I0298b2c3024e2ed059411128dbbe264c0b289a4b
vulkan/libvulkan/driver.cpp