aco: Don't store LS VS outputs to LDS when TCS doesn't need them.
[mesa.git] / src / gallium / targets / osmesa / SConscript
index 7be1b48c0b2b278a283a706a1e7ee07ec8678cdb..3df5c50097632258a0b508efb5b3eea47d9e2161 100644 (file)
@@ -15,14 +15,14 @@ env.Prepend(LIBS = [
     compiler,
     mesa,
     gallium,
-    trace,
     glsl,
     nir,
+    spirv,
     mesautil,
     softpipe
 ])
 
-env.Append(CPPDEFINES = ['GALLIUM_TRACE', 'GALLIUM_SOFTPIPE'])
+env.Append(CPPDEFINES = ['GALLIUM_SOFTPIPE'])
 
 sources = ['target.c']
 
@@ -39,6 +39,9 @@ if env['platform'] == 'windows':
         sources += ['osmesa.mingw.def']
     else:
         sources += ['osmesa.def']
+    # Link with winsock2 library
+    env.Append(LIBS = ['ws2_32'])
+
 
 gallium_osmesa = env.SharedLibrary(
     target ='osmesa',