Mesa (master): Meson: ensure variable defined

Dylan Baker dbaker at kemper.freedesktop.org
Tue Jan 9 01:45:37 UTC 2018


Module: Mesa
Branch: master
Commit: 73ce7cb47406ec3e0fd56945dc66f7e258187630
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=73ce7cb47406ec3e0fd56945dc66f7e258187630

Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Mon Jan  8 17:43:45 2018 -0800

Meson: ensure variable defined

A gallium driver is undefined if passing -Dgallium-drivers=''

Fixes: e0b037d6979b2 ("meson: Build SWR driver")
Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
Acked-by: Jordan Justen <jordan.l.justen at intel.com>
Acked-by: Jason Ekstrand <jason.ekstrand at intel.com>

---

 meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meson.build b/meson.build
index 1a1d3fd69b..77e4e894b2 100644
--- a/meson.build
+++ b/meson.build
@@ -125,6 +125,7 @@ with_gallium_imx = false
 with_gallium_i915 = false
 with_gallium_svga = false
 with_gallium_virgl = false
+with_gallium_swr = false
 _drivers = get_option('gallium-drivers')
 if _drivers == 'auto'
   if not ['darwin', 'windows'].contains(host_machine.system())




More information about the mesa-commit mailing list