aco: Don't store LS VS outputs to LDS when TCS doesn't need them.
[mesa.git] / src / gallium / targets / graw-gdi / SConscript
1 #######################################################################
2 # SConscript for graw-gdi
3
4 Import('*')
5
6 env = env.Clone()
7
8 env.Append(CPPPATH = [
9 '#src/gallium/winsys/sw',
10 ])
11
12 env.Prepend(LIBS = [
13 compiler,
14 mesautil,
15 gallium,
16 nir,
17 'gdi32',
18 'user32',
19 'ws2_32',
20 ])
21
22 sources = [
23 'graw_gdi.c',
24 graw_util,
25 ]
26
27 if True:
28 env.Append(CPPDEFINES = ['GALLIUM_SOFTPIPE'])
29 env.Prepend(LIBS = [softpipe])
30
31 if env['llvm']:
32 env.Append(CPPDEFINES = 'GALLIUM_LLVMPIPE')
33 env.Prepend(LIBS = [llvmpipe])
34
35 graw = env.SharedLibrary(
36 target = 'graw',
37 source = sources,
38 LIBS = ws_gdi + env['LIBS'],
39 )
40
41 if env['platform'] == 'windows':
42 graw = env.FindIxes(graw, 'LIBPREFIX', 'LIBSUFFIX')
43 else:
44 graw = env.FindIxes(graw, 'SHLIBPREFIX', 'SHLIBSUFFIX')
45
46 env.Alias('graw-gdi', graw)