aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2018-05-12 00:27:52 -0700
committerVinson Lee <[email protected]>2018-05-12 00:50:05 -0700
commit26ddc4f9e103be495bd1720c07ba255e30523983 (patch)
tree4cd2fb28baa3b0c324dbb42ae6d805540bb035c9 /src/mesa
parent5c33e8c7729edd5e16020ebb8703be96523e04f2 (diff)
scons: Add PROGRAM_NIR_FILES.
Fix SCons build error. Linking build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1.5 ... build/linux-x86_64-debug/mesa/libmesa.a(st_program.os): In function `st_translate_prog_to_nir': src/mesa/state_tracker/st_program.c:392: undefined reference to `prog_to_nir' Fixes: 5c33e8c7729e ("st/nir: use NIR for asm programs") Signed-off-by: Vinson Lee <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/SConscript b/src/mesa/SConscript
index ba98ad4323c..5a21b64f561 100644
--- a/src/mesa/SConscript
+++ b/src/mesa/SConscript
@@ -42,6 +42,7 @@ env.CFile('program/program_parse.tab.c', 'program/program_parse.y')
mesa_sources = (
source_lists['MESA_FILES'] +
source_lists['PROGRAM_FILES'] +
+ source_lists['PROGRAM_NIR_FILES'] +
source_lists['STATETRACKER_FILES']
)