Mesa (master): scons: Add PROGRAM_NIR_FILES.

Vinson Lee vlee at kemper.freedesktop.org
Sat May 12 07:52:08 UTC 2018


Module: Mesa
Branch: master
Commit: 26ddc4f9e103be495bd1720c07ba255e30523983
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=26ddc4f9e103be495bd1720c07ba255e30523983

Author: Vinson Lee <vlee at freedesktop.org>
Date:   Sat May 12 00:27:52 2018 -0700

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 <vlee at freedesktop.org>

---

 src/mesa/SConscript | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/SConscript b/src/mesa/SConscript
index ba98ad4323..5a21b64f56 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']
 )
 




More information about the mesa-commit mailing list