From: Dylan Baker Date: Mon, 14 Jan 2019 22:44:30 +0000 (-0800) Subject: meson: fix swr KNL build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ba7ab8d2c8454346c3349ddc56cb480eea4f958;p=mesa.git meson: fix swr KNL build There's a typo in one of the #defines that breaks compilation. Fixes: e0b037d6979b266d4959c1e31746d4d19c941fdb ("meson: Build SWR driver") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109023 Reviewed-by: Eric Engestrom --- diff --git a/src/gallium/drivers/swr/meson.build b/src/gallium/drivers/swr/meson.build index b95c8bc1bf8..6c1cdbd0307 100644 --- a/src/gallium/drivers/swr/meson.build +++ b/src/gallium/drivers/swr/meson.build @@ -264,7 +264,7 @@ if with_swr_arches.contains('knl') [files_swr_common, files_swr_arch], cpp_args : [ swr_cpp_args, swr_knl_args, '-DKNOB_ARCH=KNOB_ARCH_AVX512', - '-DKNOB_ARCH_KNIGHTS', + '-DSIMD_ARCH_KNIGHTS', ], link_args : [ld_args_gc_sections], include_directories : [swr_incs],