meson: fix swr KNL build
authorDylan Baker <dylan@pnwbakers.com>
Mon, 14 Jan 2019 22:44:30 +0000 (14:44 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 24 Jan 2019 19:14:50 +0000 (19:14 +0000)
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 <eric.engestrom@intel.com>
src/gallium/drivers/swr/meson.build

index b95c8bc1bf810e70d747e10a86c6aede75801a8a..6c1cdbd030762006be4371d418d895f427fc1b37 100644 (file)
@@ -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],