radeonsi: implement SAMPLEPOS fragment shader input
[mesa.git] / src / gallium / SConscript
1 Import('env')
2
3 #
4 # Auxiliary modules
5 #
6
7 SConscript('auxiliary/SConscript')
8
9 #
10 # Drivers
11 #
12
13 # These are common and work across all platforms
14 SConscript([
15 'drivers/galahad/SConscript',
16 'drivers/identity/SConscript',
17 'drivers/llvmpipe/SConscript',
18 'drivers/rbug/SConscript',
19 'drivers/softpipe/SConscript',
20 'drivers/svga/SConscript',
21 'drivers/trace/SConscript',
22 ])
23
24 if not env['msvc']:
25 # These drivers do not build on MSVC compilers
26 SConscript([
27 'drivers/i915/SConscript',
28 ])
29
30 #
31 # State trackers
32 #
33
34 # Needed by some state trackers
35 SConscript('winsys/sw/null/SConscript')
36
37 if not env['embedded']:
38 SConscript('state_trackers/vega/SConscript')
39 if env['platform'] not in ('cygwin', 'darwin', 'haiku', 'sunos'):
40 SConscript('state_trackers/egl/SConscript')
41
42 if env['x11']:
43 SConscript('state_trackers/glx/xlib/SConscript')
44
45 if env['dri']:
46 SConscript('state_trackers/dri/SConscript')
47
48 if env['platform'] == 'windows':
49 SConscript('state_trackers/wgl/SConscript')
50
51 #
52 # Winsys
53 #
54
55 SConscript([
56 'winsys/sw/wrapper/SConscript',
57 ])
58
59 if env['x11']:
60 SConscript([
61 'winsys/sw/xlib/SConscript',
62 ])
63
64 if env['platform'] == 'windows':
65 SConscript([
66 'winsys/sw/gdi/SConscript',
67 ])
68
69 if not env['msvc']:
70 SConscript([
71 'winsys/i915/sw/SConscript',
72 ])
73
74 if env['platform'] == 'haiku':
75 SConscript([
76 'winsys/sw/hgl/SConscript',
77 ])
78
79 if env['dri']:
80 SConscript([
81 'winsys/sw/dri/SConscript',
82 ])
83
84 SConscript([
85 'winsys/svga/drm/SConscript',
86 ])
87
88 if env['drm_intel']:
89 SConscript([
90 'winsys/i915/drm/SConscript',
91 ])
92
93 #
94 # Targets
95 #
96
97 SConscript([
98 'targets/graw-null/SConscript',
99 ])
100
101 if not env['embedded']:
102 if env['platform'] not in ('cygwin', 'darwin', 'freebsd', 'haiku', 'sunos'):
103 SConscript([
104 'targets/egl-static/SConscript'
105 ])
106
107 if env['x11']:
108 SConscript([
109 'targets/graw-xlib/SConscript',
110 'targets/libgl-xlib/SConscript',
111 ])
112
113 if env['platform'] == 'windows':
114 SConscript([
115 'targets/graw-gdi/SConscript',
116 'targets/libgl-gdi/SConscript',
117 ])
118
119 if env['platform'] == 'haiku':
120 SConscript([
121 'targets/haiku-softpipe/SConscript',
122 ])
123
124 if env['dri']:
125 SConscript([
126 'targets/dri-swrast/SConscript',
127 'targets/dri-vmwgfx/SConscript',
128 ])
129 if env['drm_intel']:
130 SConscript([
131 'targets/dri-i915/SConscript',
132 ])
133
134
135 #
136 # Unit tests & tools
137 #
138
139 if not env['embedded']:
140 SConscript('tests/unit/SConscript')
141 SConscript('tests/graw/SConscript')