anv: Support loader interface version 3 (patch v2)
authorChad Versace <chadversary@chromium.org>
Wed, 11 Jan 2017 01:29:08 +0000 (17:29 -0800)
committerChad Versace <chadversary@chromium.org>
Thu, 12 Jan 2017 17:42:32 +0000 (09:42 -0800)
commit1e41d7f7b0855934744fe578ba4eae9209ee69f7
treee1cf8537ba65c45713387d40eaa81e297196d8ea
parent98cf089849a2bae08a834d01f459b8f38c544918
anv: Support loader interface version 3 (patch v2)

This patch implements vk_icdNegotiateLoaderICDInterfaceVersion(), which
brings us to loader interface v3.

v2:
  - Drop the pragmas. [emil]
  - Advertise v3 instead of v2. Anvil supported more than I
    thought.  [jason]
  - s/Surface/SurfaceKHR/ in comments. [emil]

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Cc: mesa-stable@lists.freedesktop.org
Cc: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_device.c