summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2019-01-14 14:44:30 -0800
committerDylan Baker <[email protected]>2019-01-24 19:14:50 +0000
commit3ba7ab8d2c8454346c3349ddc56cb480eea4f958 (patch)
treeeecca97b3a9c1ac1f78e7965b525a472b072d850
parent70a7ece035785978167fe0019b6ff603415b1f3b (diff)
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 <[email protected]>
-rw-r--r--src/gallium/drivers/swr/meson.build2
1 files changed, 1 insertions, 1 deletions
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],