meson: Add support for the vc4 driver.
[mesa.git] / meson.build
index bc3bbf41a65a693bd3086b6097bb03b5b50d9600..f538cf79bb4fce0feb5b558aa741e015c85d6f5a 100644 (file)
@@ -94,12 +94,14 @@ with_gallium = false
 with_gallium_radeonsi = false
 with_gallium_nouveau = false
 with_gallium_softpipe = false
+with_gallium_vc4 = false
 _drivers = get_option('gallium-drivers')
 if _drivers != ''
   _split = _drivers.split(',')
   with_gallium_radeonsi = _split.contains('radeonsi')
   with_gallium_nouveau = _split.contains('nouveau')
   with_gallium_softpipe = _split.contains('swrast')
+  with_gallium_vc4 = _split.contains('vc4')
   with_gallium = true
   with_dri = true
 endif