OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42ea063
)
meson: set opencl flags for r600
author
Dylan Baker
<dylan@pnwbakers.com>
Fri, 8 Dec 2017 23:29:59 +0000
(15:29 -0800)
committer
Dylan Baker
<dylan@pnwbakers.com>
Tue, 9 Jan 2018 00:39:48 +0000
(16:39 -0800)
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
src/gallium/drivers/r600/meson.build
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/meson.build
b/src/gallium/drivers/r600/meson.build
index
2132dbb
..
5899518
100644
(file)
--- a/
src/gallium/drivers/r600/meson.build
+++ b/
src/gallium/drivers/r600/meson.build
@@
-113,12
+113,15
@@
egd_tables_h = custom_target(
capture : true,
)
-# TODO: compute defines
+r600_c_args = []
+if with_gallium_opencl
+ r600_c_args += '-DHAVE_OPENCL'
+endif
libr600 = static_library(
'r600',
[files_r600, egd_tables_h],
- c_args : [c_vis_args],
+ c_args : [c_vis_args
, r600_c_args
],
cpp_args : [cpp_vis_args],
include_directories : [
inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_amd_common,