summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-02-21 14:29:00 -0800
committerKenneth Graunke <[email protected]>2019-02-21 14:51:15 -0800
commite2cb0c5e0e11b586a793a2b9d1b632d97fa1b6db (patch)
treedd261f7e768f120b9c2cbb7160fbf346655b2867 /src/gallium
parent7272fe9c0861065d6031e990e5f941c0036ebae8 (diff)
iris: Enable -msse2 and -mstackrealign
This is needed for gen_clflush.h intrinsics to work on 32-bit builds. i965 and anv both set these, and iris needs to as well. Tested-by: Mark Janes <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/iris/meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/iris/meson.build b/src/gallium/drivers/iris/meson.build
index 1eb19863bf1..de18de0eb26 100644
--- a/src/gallium/drivers/iris/meson.build
+++ b/src/gallium/drivers/iris/meson.build
@@ -52,7 +52,7 @@ foreach v : ['80', '90', '100', '110']
'libiris_gen@0@'.format(v),
['iris_blorp.c', 'iris_state.c', gen_xml_pack],
include_directories : [inc_common, inc_intel, inc_nir],
- c_args : [c_vis_args, no_override_init_args,
+ c_args : [c_vis_args, no_override_init_args, c_sse2_args,
'-DGEN_VERSIONx10=@0@'.format(v)],
dependencies : [dep_libdrm, dep_valgrind],
)
@@ -68,8 +68,8 @@ libiris = static_library(
# these should not be necessary, but main/macros.h...
inc_mesa, inc_mapi
],
- c_args : [c_vis_args],
- cpp_args : [cpp_vis_args],
+ c_args : [c_vis_args, c_sse2_args],
+ cpp_args : [cpp_vis_args, c_sse2_args],
dependencies : [dep_libdrm, dep_valgrind],
link_with : [iris_gen_libs, libintel_common, libintel_compiler, libintel_dev,
libisl, libblorp],