Makefile.sources 10.8 KB
Newer Older
Chia-I Wu's avatar
Chia-I Wu committed
1 2
C_SOURCES := \
	cso_cache/cso_cache.c \
3
	cso_cache/cso_cache.h \
Chia-I Wu's avatar
Chia-I Wu committed
4
	cso_cache/cso_context.c \
5
	cso_cache/cso_context.h \
Chia-I Wu's avatar
Chia-I Wu committed
6
	cso_cache/cso_hash.c \
7 8
	cso_cache/cso_hash.h \
	draw/draw_cliptest_tmp.h \
Chia-I Wu's avatar
Chia-I Wu committed
9
	draw/draw_context.c \
10 11
	draw/draw_context.h \
	draw/draw_decompose_tmp.h \
Chia-I Wu's avatar
Chia-I Wu committed
12
	draw/draw_fs.c \
13
	draw/draw_fs.h \
Chia-I Wu's avatar
Chia-I Wu committed
14
	draw/draw_gs.c \
15 16
	draw/draw_gs.h \
	draw/draw_gs_tmp.h \
Chia-I Wu's avatar
Chia-I Wu committed
17 18
	draw/draw_pipe_aaline.c \
	draw/draw_pipe_aapoint.c \
19 20
	draw/draw_pipe.c \
	draw/draw_pipe.h \
Chia-I Wu's avatar
Chia-I Wu committed
21 22 23 24 25 26 27 28
	draw/draw_pipe_clip.c \
	draw/draw_pipe_cull.c \
	draw/draw_pipe_flatshade.c \
	draw/draw_pipe_offset.c \
	draw/draw_pipe_pstipple.c \
	draw/draw_pipe_stipple.c \
	draw/draw_pipe_twoside.c \
	draw/draw_pipe_unfilled.c \
29
	draw/draw_pipe_user_cull.c \
Chia-I Wu's avatar
Chia-I Wu committed
30 31 32 33 34
	draw/draw_pipe_util.c \
	draw/draw_pipe_validate.c \
	draw/draw_pipe_vbuf.c \
	draw/draw_pipe_wide_line.c \
	draw/draw_pipe_wide_point.c \
35
	draw/draw_prim_assembler.c \
36 37 38
	draw/draw_prim_assembler.h \
	draw/draw_prim_assembler_tmp.h \
	draw/draw_private.h \
Chia-I Wu's avatar
Chia-I Wu committed
39
	draw/draw_pt.c \
40
	draw/draw_pt_decompose.h \
Chia-I Wu's avatar
Chia-I Wu committed
41 42 43 44 45
	draw/draw_pt_emit.c \
	draw/draw_pt_fetch.c \
	draw/draw_pt_fetch_emit.c \
	draw/draw_pt_fetch_shade_emit.c \
	draw/draw_pt_fetch_shade_pipeline.c \
46
	draw/draw_pt.h \
Chia-I Wu's avatar
Chia-I Wu committed
47 48 49 50
	draw/draw_pt_post_vs.c \
	draw/draw_pt_so_emit.c \
	draw/draw_pt_util.c \
	draw/draw_pt_vsplit.c \
51 52 53
	draw/draw_pt_vsplit_tmp.h \
	draw/draw_so_emit_tmp.h \
	draw/draw_split_tmp.h \
Dave Airlie's avatar
Dave Airlie committed
54 55
	draw/draw_tess.c \
	draw/draw_tess.h \
56
	draw/draw_vbuf.h \
Chia-I Wu's avatar
Chia-I Wu committed
57
	draw/draw_vertex.c \
58
	draw/draw_vertex.h \
Chia-I Wu's avatar
Chia-I Wu committed
59 60
	draw/draw_vs.c \
	draw/draw_vs_exec.c \
61
	draw/draw_vs.h \
Chia-I Wu's avatar
Chia-I Wu committed
62
	draw/draw_vs_variant.c \
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
	driver_ddebug/dd_context.c \
	driver_ddebug/dd_draw.c \
	driver_ddebug/dd_pipe.h \
	driver_ddebug/dd_public.h \
	driver_ddebug/dd_screen.c \
	driver_ddebug/dd_util.h \
	driver_noop/noop_pipe.c \
	driver_noop/noop_public.h \
	driver_noop/noop_state.c \
	driver_rbug/rbug_context.c \
	driver_rbug/rbug_context.h \
	driver_rbug/rbug_core.c \
	driver_rbug/rbug_objects.c \
	driver_rbug/rbug_objects.h \
	driver_rbug/rbug_public.h \
	driver_rbug/rbug_screen.c \
	driver_rbug/rbug_screen.h \
	driver_trace/tr_context.c \
	driver_trace/tr_context.h \
	driver_trace/tr_dump.c \
	driver_trace/tr_dump_defines.h \
	driver_trace/tr_dump.h \
	driver_trace/tr_dump_state.c \
	driver_trace/tr_dump_state.h \
	driver_trace/tr_public.h \
	driver_trace/tr_screen.c \
	driver_trace/tr_screen.h \
	driver_trace/tr_texture.c \
	driver_trace/tr_texture.h \
92
	hud/font.c \
93
	hud/font.h \
94
	hud/hud_context.c \
95
	hud/hud_context.h \
96
	hud/hud_cpu.c \
97
	hud/hud_nic.c \
98
	hud/hud_cpufreq.c \
99 100
	hud/hud_diskstat.c \
	hud/hud_sensors_temp.c \
101
	hud/hud_driver_query.c \
102
	hud/hud_fps.c \
103 104 105
	hud/hud_private.h \
	indices/u_indices.h \
	indices/u_indices_priv.h \
106
	indices/u_primconvert.c \
107 108
	indices/u_primconvert.h \
	os/os_mman.h \
109
	os/os_process.c \
110 111
	os/os_process.h \
	os/os_thread.h \
Chia-I Wu's avatar
Chia-I Wu committed
112
	pipebuffer/pb_buffer_fenced.c \
113 114
	pipebuffer/pb_buffer_fenced.h \
	pipebuffer/pb_buffer.h \
Chia-I Wu's avatar
Chia-I Wu committed
115 116
	pipebuffer/pb_bufmgr_cache.c \
	pipebuffer/pb_bufmgr_debug.c \
117
	pipebuffer/pb_bufmgr.h \
Chia-I Wu's avatar
Chia-I Wu committed
118 119
	pipebuffer/pb_bufmgr_mm.c \
	pipebuffer/pb_bufmgr_slab.c \
120 121
	pipebuffer/pb_cache.c \
	pipebuffer/pb_cache.h \
122 123
	pipebuffer/pb_slab.c \
	pipebuffer/pb_slab.h \
Chia-I Wu's avatar
Chia-I Wu committed
124
	pipebuffer/pb_validate.c \
125 126 127
	pipebuffer/pb_validate.h \
	postprocess/filters.h \
	postprocess/postprocess.h \
Brian Paul's avatar
Brian Paul committed
128
	postprocess/pp_celshade.c \
129
	postprocess/pp_celshade.h \
Brian Paul's avatar
Brian Paul committed
130
	postprocess/pp_colors.c \
131 132
	postprocess/pp_colors.h \
	postprocess/pp_filters.h \
Brian Paul's avatar
Brian Paul committed
133
	postprocess/pp_init.c \
134
	postprocess/pp_mlaa_areamap.h \
Brian Paul's avatar
Brian Paul committed
135
	postprocess/pp_mlaa.c \
136 137
	postprocess/pp_mlaa.h \
	postprocess/pp_private.h \
Brian Paul's avatar
Brian Paul committed
138
	postprocess/pp_program.c \
139
	postprocess/pp_run.c \
Chia-I Wu's avatar
Chia-I Wu committed
140
	rbug/rbug_connection.c \
141
	rbug/rbug_connection.h \
Chia-I Wu's avatar
Chia-I Wu committed
142
	rbug/rbug_context.c \
143
	rbug/rbug_context.h \
Chia-I Wu's avatar
Chia-I Wu committed
144
	rbug/rbug_core.c \
145
	rbug/rbug_core.h \
Chia-I Wu's avatar
Chia-I Wu committed
146
	rbug/rbug_demarshal.c \
147 148 149
	rbug/rbug.h \
	rbug/rbug_internal.h \
	rbug/rbug_proto.h \
Chia-I Wu's avatar
Chia-I Wu committed
150
	rbug/rbug_shader.c \
151 152 153
	rbug/rbug_shader.h \
	rbug/rbug_texture.c \
	rbug/rbug_texture.h \
Chia-I Wu's avatar
Chia-I Wu committed
154
	rtasm/rtasm_cpu.c \
155
	rtasm/rtasm_cpu.h \
Chia-I Wu's avatar
Chia-I Wu committed
156
	rtasm/rtasm_execmem.c \
157
	rtasm/rtasm_execmem.h \
Chia-I Wu's avatar
Chia-I Wu committed
158
	rtasm/rtasm_x86sse.c \
159
	rtasm/rtasm_x86sse.h \
160 161 162 163
	tessellator/p_tessellator.cpp \
	tessellator/p_tessellator.h \
	tessellator/tessellator.cpp \
	tessellator/tessellator.hpp \
164 165
	tgsi/tgsi_aa_point.c \
	tgsi/tgsi_aa_point.h \
Chia-I Wu's avatar
Chia-I Wu committed
166
	tgsi/tgsi_build.c \
167
	tgsi/tgsi_build.h \
Chia-I Wu's avatar
Chia-I Wu committed
168
	tgsi/tgsi_dump.c \
169
	tgsi/tgsi_dump.h \
170
	tgsi/tgsi_dynamic_indexing.c \
Chia-I Wu's avatar
Chia-I Wu committed
171
	tgsi/tgsi_exec.c \
172
	tgsi/tgsi_exec.h \
173 174
	tgsi/tgsi_emulate.c \
	tgsi/tgsi_emulate.h \
175 176
	tgsi/tgsi_from_mesa.c \
	tgsi/tgsi_from_mesa.h \
Chia-I Wu's avatar
Chia-I Wu committed
177
	tgsi/tgsi_info.c \
178
	tgsi/tgsi_info.h \
179
	tgsi/tgsi_info_opcodes.h \
Chia-I Wu's avatar
Chia-I Wu committed
180
	tgsi/tgsi_iterate.c \
181
	tgsi/tgsi_iterate.h \
182
	tgsi/tgsi_lowering.c \
183 184
	tgsi/tgsi_lowering.h \
	tgsi/tgsi_opcode_tmp.h \
Chia-I Wu's avatar
Chia-I Wu committed
185
	tgsi/tgsi_parse.c \
186
	tgsi/tgsi_parse.h \
187 188
	tgsi/tgsi_point_sprite.c \
	tgsi/tgsi_point_sprite.h \
Chia-I Wu's avatar
Chia-I Wu committed
189
	tgsi/tgsi_sanity.c \
190
	tgsi/tgsi_sanity.h \
Chia-I Wu's avatar
Chia-I Wu committed
191
	tgsi/tgsi_scan.c \
192
	tgsi/tgsi_scan.h \
193
	tgsi/tgsi_strings.c \
194
	tgsi/tgsi_strings.h \
Chia-I Wu's avatar
Chia-I Wu committed
195
	tgsi/tgsi_text.c \
196
	tgsi/tgsi_text.h \
Chia-I Wu's avatar
Chia-I Wu committed
197
	tgsi/tgsi_transform.c \
198
	tgsi/tgsi_transform.h \
199 200
	tgsi/tgsi_two_side.c \
	tgsi/tgsi_two_side.h \
Chia-I Wu's avatar
Chia-I Wu committed
201
	tgsi/tgsi_ureg.c \
202
	tgsi/tgsi_ureg.h \
Chia-I Wu's avatar
Chia-I Wu committed
203
	tgsi/tgsi_util.c \
204
	tgsi/tgsi_util.h \
205
	tgsi/tgsi_vpos.c \
Chia-I Wu's avatar
Chia-I Wu committed
206
	translate/translate.c \
207
	translate/translate.h \
Chia-I Wu's avatar
Chia-I Wu committed
208
	translate/translate_cache.c \
209
	translate/translate_cache.h \
Chia-I Wu's avatar
Chia-I Wu committed
210 211
	translate/translate_generic.c \
	translate/translate_sse.c \
212
	util/dbghelp.h \
213 214
	util/u_async_debug.h \
	util/u_async_debug.c \
215
	util/u_bitcast.h \
216 217
	util/u_bitmask.c \
	util/u_bitmask.h \
218
	util/u_blend.h \
219 220 221 222 223 224 225
	util/u_blit.c \
	util/u_blit.h \
	util/u_blitter.c \
	util/u_blitter.h \
	util/u_box.h \
	util/u_cache.c \
	util/u_cache.h \
226 227
	util/u_compute.c \
	util/u_compute.h \
Chia-I Wu's avatar
Chia-I Wu committed
228
	util/u_debug_describe.c \
229
	util/u_debug_describe.h \
230
	util/u_debug_flush.c \
231
	util/u_debug_flush.h \
232 233
	util/u_debug_image.c \
	util/u_debug_image.h \
Chia-I Wu's avatar
Chia-I Wu committed
234
	util/u_debug_refcnt.c \
235
	util/u_debug_refcnt.h \
Chia-I Wu's avatar
Chia-I Wu committed
236
	util/u_debug_stack.c \
237
	util/u_debug_stack.h \
Chia-I Wu's avatar
Chia-I Wu committed
238
	util/u_debug_symbol.c \
239 240 241
	util/u_debug_symbol.h \
	util/u_dirty_flags.h \
	util/u_dirty_surfaces.h \
Chia-I Wu's avatar
Chia-I Wu committed
242
	util/u_dl.c \
243
	util/u_dl.h \
Chia-I Wu's avatar
Chia-I Wu committed
244
	util/u_draw.c \
245
	util/u_draw.h \
Chia-I Wu's avatar
Chia-I Wu committed
246
	util/u_draw_quad.c \
247 248 249 250 251 252
	util/u_draw_quad.h \
	util/u_dual_blend.h \
	util/u_dump_defines.c \
	util/u_dump.h \
	util/u_dump_state.c \
	util/u_fifo.h \
Chia-I Wu's avatar
Chia-I Wu committed
253
	util/u_framebuffer.c \
254
	util/u_framebuffer.h \
Chia-I Wu's avatar
Chia-I Wu committed
255
	util/u_gen_mipmap.c \
256 257
	util/u_gen_mipmap.h \
	util/u_half.h \
Chia-I Wu's avatar
Chia-I Wu committed
258
	util/u_handle_table.c \
259
	util/u_handle_table.h \
Chia-I Wu's avatar
Chia-I Wu committed
260
	util/u_hash_table.c \
261
	util/u_hash_table.h \
262
	util/u_helpers.c \
263
	util/u_helpers.h \
264 265
	util/u_idalloc.c \
	util/u_idalloc.h \
Chia-I Wu's avatar
Chia-I Wu committed
266
	util/u_index_modify.c \
267 268
	util/u_index_modify.h \
	util/u_inlines.h \
Chia-I Wu's avatar
Chia-I Wu committed
269
	util/u_linear.c \
270
	util/u_linear.h \
271 272
	util/u_live_shader_cache.c \
	util/u_live_shader_cache.h \
273 274
	util/u_log.c \
	util/u_log.h \
275 276 277 278 279
	util/u_network.c \
	util/u_network.h \
	util/u_pack_color.h \
	util/u_pointer.h \
	util/u_prim.h \
280
	util/u_prim.c \
281 282
	util/u_prim_restart.c \
	util/u_prim_restart.h \
Chia-I Wu's avatar
Chia-I Wu committed
283
	util/u_pstipple.c \
284
	util/u_pstipple.h \
285
	util/u_pwr8.h \
286 287 288 289
	util/u_range.h \
	util/u_rect.h \
	util/u_resource.c \
	util/u_resource.h \
Chia-I Wu's avatar
Chia-I Wu committed
290
	util/u_sampler.c \
291
	util/u_sampler.h \
292 293
	util/u_screen.c \
	util/u_screen.h \
Chia-I Wu's avatar
Chia-I Wu committed
294
	util/u_simple_shaders.c \
295
	util/u_simple_shaders.h \
296 297
	util/u_split_draw.c \
	util/u_split_draw.h \
298 299
	util/u_split_prim.h \
	util/u_sse.h \
300
	util/u_suballoc.c \
301
	util/u_suballoc.h \
Chia-I Wu's avatar
Chia-I Wu committed
302
	util/u_surface.c \
303
	util/u_surface.h \
304
	util/u_tests.c \
305
	util/u_tests.h \
Chia-I Wu's avatar
Chia-I Wu committed
306
	util/u_texture.c \
307
	util/u_texture.h \
Chia-I Wu's avatar
Chia-I Wu committed
308
	util/u_tile.c \
309
	util/u_tile.h \
Chia-I Wu's avatar
Chia-I Wu committed
310
	util/u_transfer.c \
311
	util/u_transfer.h \
312 313
	util/u_transfer_helper.c \
	util/u_transfer_helper.h \
314 315 316
	util/u_threaded_context.c \
	util/u_threaded_context.h \
	util/u_threaded_context_calls.h \
Chia-I Wu's avatar
Chia-I Wu committed
317
	util/u_upload_mgr.c \
318
	util/u_upload_mgr.h \
Marek Olšák's avatar
Marek Olšák committed
319
	util/u_vbuf.c \
320
	util/u_vbuf.h \
321 322
	util/u_video.h \
	util/u_viewport.h
323

324
NIR_SOURCES := \
325
	nir/tgsi_to_nir.c \
326
	nir/tgsi_to_nir.h \
327 328
	nir/nir_draw_helpers.c \
	nir/nir_draw_helpers.h
329

330
VL_SOURCES := \
331 332
	vl/vl_bicubic_filter.c \
	vl/vl_bicubic_filter.h \
Chia-I Wu's avatar
Chia-I Wu committed
333
	vl/vl_compositor.c \
334
	vl/vl_compositor.h \
335 336
	vl/vl_compositor_gfx.c \
	vl/vl_compositor_gfx.h \
337 338
	vl/vl_compositor_cs.c \
	vl/vl_compositor_cs.h \
339 340 341 342 343 344 345 346 347
	vl/vl_csc.c \
	vl/vl_csc.h \
	vl/vl_decoder.c \
	vl/vl_decoder.h \
	vl/vl_defines.h \
	vl/vl_deint_filter.c \
	vl/vl_deint_filter.h \
	vl/vl_idct.c \
	vl/vl_idct.h \
348
	vl/vl_matrix_filter.c \
349 350 351
	vl/vl_matrix_filter.h \
	vl/vl_mc.c \
	vl/vl_mc.h \
352
	vl/vl_median_filter.c \
353
	vl/vl_median_filter.h \
Chia-I Wu's avatar
Chia-I Wu committed
354
	vl/vl_mpeg12_bitstream.c \
355 356 357 358 359 360 361 362 363 364
	vl/vl_mpeg12_bitstream.h \
	vl/vl_mpeg12_decoder.c \
	vl/vl_mpeg12_decoder.h \
	vl/vl_rbsp.h \
	vl/vl_types.h \
	vl/vl_vertex_buffers.c \
	vl/vl_vertex_buffers.h \
	vl/vl_video_buffer.c \
	vl/vl_video_buffer.h \
	vl/vl_vlc.h \
Chia-I Wu's avatar
Chia-I Wu committed
365
	vl/vl_zscan.c \
Leo Liu's avatar
Leo Liu committed
366 367
	vl/vl_zscan.h \
	vl/vl_probs_table.h
Chia-I Wu's avatar
Chia-I Wu committed
368

369 370
# XXX: Nuke this as our dri targets no longer depend on VL.
VL_WINSYS_SOURCES := \
371 372 373 374
	vl/vl_winsys.h

VL_WINSYS_DRI2_SOURCES := \
	vl/vl_winsys_dri.c
375

Leo Liu's avatar
Leo Liu committed
376 377 378
VL_WINSYS_DRI3_SOURCES := \
	vl/vl_winsys_dri3.c

379 380 381
VL_WINSYS_DRM_SOURCES := \
	vl/vl_winsys_drm.c

382 383 384
VL_STUB_SOURCES := \
	vl/vl_stubs.c

Chia-I Wu's avatar
Chia-I Wu committed
385 386
GENERATED_SOURCES := \
	indices/u_indices_gen.c \
387
	indices/u_unfilled_gen.c
Chia-I Wu's avatar
Chia-I Wu committed
388 389

GALLIVM_SOURCES := \
390 391 392 393 394 395 396 397 398 399 400 401
	gallivm/lp_bld_arit.c \
	gallivm/lp_bld_arit.h \
	gallivm/lp_bld_arit_overflow.c \
	gallivm/lp_bld_arit_overflow.h \
	gallivm/lp_bld_assert.c \
	gallivm/lp_bld_assert.h \
	gallivm/lp_bld_bitarit.c \
	gallivm/lp_bld_bitarit.h \
	gallivm/lp_bld_const.c \
	gallivm/lp_bld_const.h \
	gallivm/lp_bld_conv.c \
	gallivm/lp_bld_conv.h \
402 403
	gallivm/lp_bld_coro.c \
	gallivm/lp_bld_coro.h \
404 405 406 407 408 409
	gallivm/lp_bld_debug.cpp \
	gallivm/lp_bld_debug.h \
	gallivm/lp_bld_flow.c \
	gallivm/lp_bld_flow.h \
	gallivm/lp_bld_format_aos_array.c \
	gallivm/lp_bld_format_aos.c \
410
	gallivm/lp_bld_format_float.c \
411
	gallivm/lp_bld_format.c \
412 413
	gallivm/lp_bld_format.h \
	gallivm/lp_bld_format_soa.c \
414
	gallivm/lp_bld_format_s3tc.c \
415 416 417 418 419 420 421 422 423
	gallivm/lp_bld_format_srgb.c \
	gallivm/lp_bld_format_yuv.c \
	gallivm/lp_bld_gather.c \
	gallivm/lp_bld_gather.h \
	gallivm/lp_bld.h \
	gallivm/lp_bld_init.c \
	gallivm/lp_bld_init.h \
	gallivm/lp_bld_intr.c \
	gallivm/lp_bld_intr.h \
424 425
	gallivm/lp_bld_ir_common.c \
	gallivm/lp_bld_ir_common.h \
426 427 428 429 430
	gallivm/lp_bld_limits.h \
	gallivm/lp_bld_logic.c \
	gallivm/lp_bld_logic.h \
	gallivm/lp_bld_misc.cpp \
	gallivm/lp_bld_misc.h \
431 432 433
	gallivm/lp_bld_nir.c \
	gallivm/lp_bld_nir.h \
	gallivm/lp_bld_nir_soa.c \
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456
	gallivm/lp_bld_pack.c \
	gallivm/lp_bld_pack.h \
	gallivm/lp_bld_printf.c \
	gallivm/lp_bld_printf.h \
	gallivm/lp_bld_quad.c \
	gallivm/lp_bld_quad.h \
	gallivm/lp_bld_sample_aos.c \
	gallivm/lp_bld_sample_aos.h \
	gallivm/lp_bld_sample.c \
	gallivm/lp_bld_sample.h \
	gallivm/lp_bld_sample_soa.c \
	gallivm/lp_bld_struct.c \
	gallivm/lp_bld_struct.h \
	gallivm/lp_bld_swizzle.c \
	gallivm/lp_bld_swizzle.h \
	gallivm/lp_bld_tgsi_action.c \
	gallivm/lp_bld_tgsi_action.h \
	gallivm/lp_bld_tgsi_aos.c \
	gallivm/lp_bld_tgsi.c \
	gallivm/lp_bld_tgsi.h \
	gallivm/lp_bld_tgsi_info.c \
	gallivm/lp_bld_tgsi_soa.c \
	gallivm/lp_bld_type.c \
457
	gallivm/lp_bld_type.h \
458 459
	nir/nir_to_tgsi_info.c \
	nir/nir_to_tgsi_info.h \
460 461 462 463 464
	draw/draw_llvm.c \
	draw/draw_llvm.h \
	draw/draw_llvm_sample.c \
	draw/draw_pt_fetch_shade_pipeline_llvm.c \
	draw/draw_vs_llvm.c
465 466 467 468

RENDERONLY_SOURCES := \
	renderonly/renderonly.c \
	renderonly/renderonly.h