meson: Move -Dvulkan-drivers handling higher in the file
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 11 Nov 2017 18:30:35 +0000 (10:30 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 13 Nov 2017 19:55:06 +0000 (11:55 -0800)
commit00fb21b570b4f13971546f31177df9e44d828502
tree5ec090e30209119f071f7b809cdbec4f8c8ed594
parent3a922d6a613231212b6ea7276d1ca416378bd9fd
meson: Move -Dvulkan-drivers handling higher in the file

The window-system auto-detection code (specifically for glx) relies on
with_any_vk being available.  This fixes the Vulkan-only build.  Also,
this puts it up near the handling of -Ddri-drivers and -Dgallium-drivers
which seems to make a bit more sense.

Fixes: 118a7f044191d4ab15ac9 "meson: add support for xlib glx"
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
meson.build