aco: Don't store LS VS outputs to LDS when TCS doesn't need them.
[mesa.git] / src / gallium / targets / graw-gdi / SConscript
index 8d98b36fba4199868f9acc890da1af26aa2fa3df..8dc6c05e7f5f80b25ecb8536f5b440cb7b8ba063 100644 (file)
@@ -9,15 +9,12 @@ env.Append(CPPPATH = [
     '#src/gallium/winsys/sw',
 ])
 
-env.Append(CPPDEFINES = ['GALLIUM_RBUG', 'GALLIUM_TRACE', 'GALLIUM_GALAHAD'])
-
 env.Prepend(LIBS = [
+    compiler,
+    mesautil,
     gallium,
+    nir,
     'gdi32',
-    identity,
-    rbug,
-    trace,
-    galahad,
     'user32',
     'ws2_32',
 ])
@@ -27,8 +24,13 @@ sources = [
     graw_util,
 ]
 
-env.Append(CPPDEFINES = 'GALLIUM_SOFTPIPE')
-env.Prepend(LIBS = [softpipe])
+if True:
+    env.Append(CPPDEFINES = ['GALLIUM_SOFTPIPE'])
+    env.Prepend(LIBS = [softpipe])
+
+if env['llvm']:
+    env.Append(CPPDEFINES = 'GALLIUM_LLVMPIPE')
+    env.Prepend(LIBS = [llvmpipe])
 
 graw = env.SharedLibrary(
     target = 'graw',