i965: Fix ENDLOOP to only patch up this loop's BREAK and CONT.
[mesa.git] / progs / trivial / SConscript
1 Import('*')
2
3 progs = [
4 'clear-fbo-tex',
5 'clear-fbo',
6 'clear-scissor',
7 'clear-undefined',
8 'clear-repeat',
9 'clear',
10 'dlist-dangling',
11 'dlist-edgeflag-dangling',
12 'dlist-edgeflag',
13 'dlist-degenerate',
14 'drawarrays',
15 'draw2arrays',
16 'drawelements',
17 'drawrange',
18 'flat-clip',
19 'fs-tri',
20 'line-clip',
21 'line-cull',
22 'line-flat',
23 'line-smooth',
24 'line-stipple-wide',
25 'line-userclip-clip',
26 'line-userclip-nop-clip',
27 'line-userclip-nop',
28 'line-userclip',
29 'line-wide',
30 'line',
31 'lineloop-clip',
32 'lineloop-elts',
33 'lineloop',
34 'linestrip-flat-stipple',
35 'linestrip-stipple-wide',
36 'linestrip-stipple',
37 'linestrip',
38 'long-fixed-func',
39 'pgon-mode',
40 'point-clip',
41 'point-param',
42 'point-sprite',
43 'point-wide',
44 'point-wide-smooth',
45 'point',
46 'poly-flat',
47 'poly-flat-clip',
48 'poly-flat-unfilled-clip',
49 'poly-unfilled',
50 'poly',
51 'quad-clip-all-vertices',
52 'quad-clip-nearplane',
53 'quad-clip',
54 'quad-degenerate',
55 'quad-flat',
56 'quad-offset-factor',
57 'quad-offset-unfilled',
58 'quad-offset-units',
59 'quad-tex-2d',
60 'quad-tex-3d',
61 'quad-tex-alpha',
62 'quad-tex-pbo',
63 'quad-tex-sub',
64 'quad-unfilled-clip',
65 'quad-unfilled-stipple',
66 'quad-unfilled',
67 'quad',
68 'quads',
69 'quadstrip-clip',
70 'quadstrip-cont',
71 'quadstrip-flat',
72 'quadstrip',
73 'sub-tex',
74 'tex-quads',
75 'tri-alpha',
76 'tri-blend-color',
77 'tri-blend-max',
78 'tri-blend-min',
79 'tri-blend-revsub',
80 'tri-blend-sub',
81 'tri-blend',
82 'tri-clip',
83 'tri-clear',
84 'tri-cull-both',
85 'tri-cull',
86 'tri-dlist',
87 'tri-edgeflag',
88 'tri-fbo-tex-mip',
89 'tri-fbo-tex',
90 'tri-fbo',
91 'tri-flat-clip',
92 'tri-flat',
93 'tri-fog',
94 'tri-fp',
95 'tri-fp-const-imm',
96 'tri-lit',
97 'tri-logicop-none',
98 'tri-logicop-xor',
99 'tri-mask-tri',
100 'tri-orig',
101 'tri-point-line-clipped',
102 'tri-query',
103 'tri-repeat',
104 'tri-scissor-tri',
105 'tri-stencil',
106 'tri-stipple',
107 'tri-multitex-vbo',
108 'tri-tex',
109 'tri-tex-3d',
110 'tri-tri',
111 'tri-unfilled-fog',
112 'tri-unfilled-edgeflag',
113 'tri-unfilled-clip',
114 'tri-unfilled-smooth',
115 'tri-unfilled-tri',
116 'tri-unfilled-tri-lit',
117 'tri-unfilled-userclip-stip',
118 'tri-unfilled-userclip',
119 'tri-unfilled',
120 'tri-userclip',
121 'tri-viewport',
122 'tri-z-eq',
123 'tri-z',
124 'tri',
125 'trifan-flat',
126 'trifan-flat-clip',
127 'trifan-flat-unfilled-clip',
128 'trifan-unfilled',
129 'trifan',
130 'tristrip-clip',
131 'tristrip-flat',
132 'tristrip',
133 'vbo-drawarrays',
134 'vbo-noninterleaved',
135 'vbo-drawelements',
136 'vbo-drawrange',
137 'vp-array',
138 'vp-array-int',
139 'vp-clip',
140 'vp-line-clip',
141 'vp-tri',
142 'vp-tri-invariant',
143 'vp-tri-swap',
144 'vp-tri-tex',
145 'vp-tri-imm',
146 'vp-tri-cb',
147 'vp-tri-cb-pos',
148 'vp-tri-cb-tex',
149 'vp-unfilled',
150 ]
151
152 for prog in progs:
153 prog = progs_env.Program(
154 target = prog,
155 source = prog + '.c',
156 )
157
158 # auto code generation
159 #getprocaddress: getprocaddress.c getproclist.h
160
161 #getproclist.h: $(TOP)/src/mesa/glapi/gen/gl_API.xml getprocaddress.c getprocaddress.py
162 # python getprocaddress.py > getproclist.h
163
164
165 #readtex.h: $(TOP)/progs/util/readtex.h
166 # ln -s $(TOP)/progs/util/readtex.h .
167
168 #readtex.c: $(TOP)/progs/util/readtex.c
169 # ln -s $(TOP)/progs/util/readtex.c .
170
171
172 #extfuncs.h: $(TOP)/progs/util/extfuncs.h
173 # cp $< .