From 3ba7ab8d2c8454346c3349ddc56cb480eea4f958 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 14 Jan 2019 14:44:30 -0800 Subject: [PATCH] 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 --- src/gallium/drivers/swr/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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], -- 2.30.2