diff options
author | Neil Roberts <[email protected]> | 2018-03-30 09:12:00 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-03-30 14:33:03 -0600 |
commit | 31d91f019b58ca362c05db1fd0c75fedd169cd7b (patch) | |
tree | f2339281d532a806827960cffa8158837639929f /src/gallium | |
parent | cdc34e2cea73b7932e51ad407595d487d2d565c3 (diff) |
spirv: Fix building with SCons
The SCons build broke with commit ba975140d3c9 because a SPIR-V
function is called from Mesa main. This adds a convenience library for
SPIR-V and adds it to everything that was including nir. It also adds
both nir and spirv to drivers/x11/SConscript.
Also add nir/spirv modules to osmesa and libgl-gdi targets. (Brian Paul)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105817
Reviewed-by: Brian Paul <[email protected]>
Tested-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/targets/dri/SConscript | 1 | ||||
-rw-r--r-- | src/gallium/targets/haiku-softpipe/SConscript | 1 | ||||
-rw-r--r-- | src/gallium/targets/libgl-gdi/SConscript | 6 | ||||
-rw-r--r-- | src/gallium/targets/libgl-xlib/SConscript | 1 | ||||
-rw-r--r-- | src/gallium/targets/osmesa/SConscript | 1 |
5 files changed, 9 insertions, 1 deletions
diff --git a/src/gallium/targets/dri/SConscript b/src/gallium/targets/dri/SConscript index f5c2818d04f..ff6ce3bf4e0 100644 --- a/src/gallium/targets/dri/SConscript +++ b/src/gallium/targets/dri/SConscript @@ -45,6 +45,7 @@ env.Prepend(LIBS = [ mesa, glsl, nir, + spirv, gallium, megadrivers_stub, dri_common, diff --git a/src/gallium/targets/haiku-softpipe/SConscript b/src/gallium/targets/haiku-softpipe/SConscript index f80c167d83b..89792fba132 100644 --- a/src/gallium/targets/haiku-softpipe/SConscript +++ b/src/gallium/targets/haiku-softpipe/SConscript @@ -10,6 +10,7 @@ env.Prepend(LIBS = [ mesa, glsl, nir, + spirv, gallium ]) diff --git a/src/gallium/targets/libgl-gdi/SConscript b/src/gallium/targets/libgl-gdi/SConscript index d3251caec57..b5ba0fabcd0 100644 --- a/src/gallium/targets/libgl-gdi/SConscript +++ b/src/gallium/targets/libgl-gdi/SConscript @@ -18,7 +18,11 @@ env.Append(LIBS = [ 'ws2_32', ]) -env.Prepend(LIBS = [mesautil]) +env.Prepend(LIBS = [ + mesautil, + nir, + spirv +]) sources = ['libgl_gdi.c'] drivers = [] diff --git a/src/gallium/targets/libgl-xlib/SConscript b/src/gallium/targets/libgl-xlib/SConscript index a81ac793251..b94ef350b16 100644 --- a/src/gallium/targets/libgl-xlib/SConscript +++ b/src/gallium/targets/libgl-xlib/SConscript @@ -33,6 +33,7 @@ env.Prepend(LIBS = [ mesa, glsl, nir, + spirv, gallium, ]) diff --git a/src/gallium/targets/osmesa/SConscript b/src/gallium/targets/osmesa/SConscript index 7be1b48c0b2..ccf7d5170c4 100644 --- a/src/gallium/targets/osmesa/SConscript +++ b/src/gallium/targets/osmesa/SConscript @@ -18,6 +18,7 @@ env.Prepend(LIBS = [ trace, glsl, nir, + spirv, mesautil, softpipe ]) |