scons: Build nir/glsl_types.cpp once.
authorJose Fonseca <jfonseca@vmware.com>
Mon, 19 Oct 2015 13:29:28 +0000 (14:29 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Mon, 19 Oct 2015 14:59:59 +0000 (15:59 +0100)
commitb23a4859f4dbbcca7d6a637010167d470211e45b
tree6e47c0a14c1766befc7c051a1e69a5d2700e4a92
parent530eb39c71d2f42ef5d6c556aff77c322434f4e2
scons: Build nir/glsl_types.cpp once.

Undoes early hacks, and ensures nir/glsl_types.cpp is built once, and
only once.

The root problem is that SCons doesn't know about NIR nor any source
file in the NIR_FILES source list.

Tested with libgl-gdi and libgl-xlib scons targets.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/targets/libgl-gdi/SConscript
src/gallium/targets/libgl-gdi/glsl_types_hack.cpp [deleted file]
src/gallium/targets/libgl-xlib/SConscript
src/gallium/targets/libgl-xlib/glsl_types_hack.cpp [deleted file]
src/gallium/targets/osmesa/SConscript
src/gallium/targets/osmesa/glsl_types_hack.cpp [deleted file]
src/glsl/SConscript
src/mesa/drivers/x11/SConscript