summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/libgl-xlib/SConscript
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-09-03 16:33:17 -0600
committerBrian Paul <[email protected]>2010-09-03 16:33:20 -0600
commitf1de38b851d274b16e8b58669a110b0124e0f40b (patch)
tree3db553fa40e59e0d1229611ccd7caa58cc71d842 /src/gallium/targets/libgl-xlib/SConscript
parent14056e052b72a449cf3dc36932e44e434dd3c546 (diff)
libgl-xlib: enable galahad support
If the GALLIUM_GALAHAD env var is 1 we'll wrap the regular driver with the galahad validation driver.
Diffstat (limited to 'src/gallium/targets/libgl-xlib/SConscript')
-rw-r--r--src/gallium/targets/libgl-xlib/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/targets/libgl-xlib/SConscript b/src/gallium/targets/libgl-xlib/SConscript
index 88e216a65be..27b562e1d5d 100644
--- a/src/gallium/targets/libgl-xlib/SConscript
+++ b/src/gallium/targets/libgl-xlib/SConscript
@@ -48,6 +48,10 @@ if True:
env.Append(CPPDEFINES = 'GALLIUM_SOFTPIPE')
env.Prepend(LIBS = [softpipe])
+if True:
+ env.Append(CPPDEFINES = 'GALLIUM_GALAHAD')
+ env.Prepend(LIBS = [galahad])
+
if env['llvm']:
env.Append(CPPDEFINES = 'GALLIUM_LLVMPIPE')
env.Tool('udis86')