summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2015-10-10 13:55:07 -0400
committerRob Clark <[email protected]>2015-10-16 19:33:38 -0400
commitb9b40ef9b7644ea24768bc8b7464b1719efe99bf (patch)
treeccca8ea0f2a4d0cbc6009cade33d9daf3c588c07 /src/mesa/drivers/x11
parent183db3a64557d5d231ef58ab5666286f323ff333 (diff)
nir: remove dependency on glsl
Move glsl_types into NIR, now that the dependency on glsl_symbol_table has been split out. Possibly makes sense to rename things at this point, but if we do that I'd like to keep it split out into a separate patch to make git history easier to follow (IMHO). v2: fix android build v3: I f***ing hate scons.. but at least it builds Reviewed-by: Jason Ekstrand <[email protected]> Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r--src/mesa/drivers/x11/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/x11/SConscript b/src/mesa/drivers/x11/SConscript
index d29f9874f44..aa1e73a9d4a 100644
--- a/src/mesa/drivers/x11/SConscript
+++ b/src/mesa/drivers/x11/SConscript
@@ -4,6 +4,8 @@ env = env.Clone()
env.Append(CPPPATH = [
'#/src',
+ '#/src/glsl',
+ '#/src/glsl/nir',
'#/src/mapi',
'#/src/mesa',
'#/src/mesa/main',
@@ -31,6 +33,7 @@ sources = [
'xm_dd.c',
'xm_line.c',
'xm_tri.c',
+ '../../../glsl/nir/glsl_types.cpp',
]
# Disallow undefined symbols