summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/osmesa/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/osmesa/SConscript')
-rw-r--r--src/gallium/targets/osmesa/SConscript7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/targets/osmesa/SConscript b/src/gallium/targets/osmesa/SConscript
index 4a9115ba1cf..78930a98e03 100644
--- a/src/gallium/targets/osmesa/SConscript
+++ b/src/gallium/targets/osmesa/SConscript
@@ -5,6 +5,8 @@ env = env.Clone()
env.Prepend(CPPPATH = [
'#src/mapi',
'#src/mesa',
+ '#src/glsl',
+ '#src/glsl/nir',
#Dir('../../../mapi'), # src/mapi build path for python-generated GL API files/headers
])
@@ -22,7 +24,10 @@ env.Prepend(LIBS = [
env.Append(CPPDEFINES = ['GALLIUM_TRACE', 'GALLIUM_SOFTPIPE'])
-sources = ['target.c']
+sources = [
+ 'target.c',
+ 'glsl_types_hack.cpp'
+]
if env['llvm']:
env.Append(CPPDEFINES = 'GALLIUM_LLVMPIPE')