Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4358 | Serge | 1 | # shared source lists for Makefile, SConscript, and Android.mk |
2 | |||
3 | GLSL_SRCDIR = $(top_srcdir)/src/glsl |
||
4 | GLSL_BUILDDIR = $(top_builddir)/src/glsl |
||
5 | |||
6 | # libglcpp |
||
7 | |||
8 | LIBGLCPP_FILES = \ |
||
9 | $(GLSL_SRCDIR)/ralloc.c \ |
||
10 | $(GLSL_SRCDIR)/glcpp/pp.c |
||
11 | |||
12 | LIBGLCPP_GENERATED_FILES = \ |
||
13 | $(GLSL_BUILDDIR)/glcpp/glcpp-lex.c \ |
||
14 | $(GLSL_BUILDDIR)/glcpp/glcpp-parse.c |
||
15 | |||
16 | # libglsl |
||
17 | |||
18 | LIBGLSL_FILES = \ |
||
19 | $(GLSL_SRCDIR)/ast_array_index.cpp \ |
||
20 | $(GLSL_SRCDIR)/ast_expr.cpp \ |
||
21 | $(GLSL_SRCDIR)/ast_function.cpp \ |
||
22 | $(GLSL_SRCDIR)/ast_to_hir.cpp \ |
||
23 | $(GLSL_SRCDIR)/ast_type.cpp \ |
||
24 | $(GLSL_SRCDIR)/builtin_types.cpp \ |
||
25 | $(GLSL_SRCDIR)/builtin_variables.cpp \ |
||
26 | $(GLSL_SRCDIR)/glsl_parser_extras.cpp \ |
||
27 | $(GLSL_SRCDIR)/glsl_types.cpp \ |
||
28 | $(GLSL_SRCDIR)/glsl_symbol_table.cpp \ |
||
29 | $(GLSL_SRCDIR)/hir_field_selection.cpp \ |
||
30 | $(GLSL_SRCDIR)/ir_basic_block.cpp \ |
||
31 | $(GLSL_SRCDIR)/ir_builder.cpp \ |
||
32 | $(GLSL_SRCDIR)/ir_clone.cpp \ |
||
33 | $(GLSL_SRCDIR)/ir_constant_expression.cpp \ |
||
34 | $(GLSL_SRCDIR)/ir.cpp \ |
||
35 | $(GLSL_SRCDIR)/ir_expression_flattening.cpp \ |
||
36 | $(GLSL_SRCDIR)/ir_function_can_inline.cpp \ |
||
37 | $(GLSL_SRCDIR)/ir_function_detect_recursion.cpp \ |
||
38 | $(GLSL_SRCDIR)/ir_function.cpp \ |
||
39 | $(GLSL_SRCDIR)/ir_hierarchical_visitor.cpp \ |
||
40 | $(GLSL_SRCDIR)/ir_hv_accept.cpp \ |
||
41 | $(GLSL_SRCDIR)/ir_import_prototypes.cpp \ |
||
42 | $(GLSL_SRCDIR)/ir_print_visitor.cpp \ |
||
43 | $(GLSL_SRCDIR)/ir_reader.cpp \ |
||
44 | $(GLSL_SRCDIR)/ir_rvalue_visitor.cpp \ |
||
45 | $(GLSL_SRCDIR)/ir_set_program_inouts.cpp \ |
||
46 | $(GLSL_SRCDIR)/ir_validate.cpp \ |
||
47 | $(GLSL_SRCDIR)/ir_variable_refcount.cpp \ |
||
48 | $(GLSL_SRCDIR)/linker.cpp \ |
||
49 | $(GLSL_SRCDIR)/link_functions.cpp \ |
||
50 | $(GLSL_SRCDIR)/link_interface_blocks.cpp \ |
||
51 | $(GLSL_SRCDIR)/link_uniforms.cpp \ |
||
52 | $(GLSL_SRCDIR)/link_uniform_initializers.cpp \ |
||
53 | $(GLSL_SRCDIR)/link_uniform_block_active_visitor.cpp \ |
||
54 | $(GLSL_SRCDIR)/link_uniform_blocks.cpp \ |
||
55 | $(GLSL_SRCDIR)/link_varyings.cpp \ |
||
56 | $(GLSL_SRCDIR)/loop_analysis.cpp \ |
||
57 | $(GLSL_SRCDIR)/loop_controls.cpp \ |
||
58 | $(GLSL_SRCDIR)/loop_unroll.cpp \ |
||
59 | $(GLSL_SRCDIR)/lower_clip_distance.cpp \ |
||
60 | $(GLSL_SRCDIR)/lower_discard.cpp \ |
||
61 | $(GLSL_SRCDIR)/lower_discard_flow.cpp \ |
||
62 | $(GLSL_SRCDIR)/lower_if_to_cond_assign.cpp \ |
||
63 | $(GLSL_SRCDIR)/lower_instructions.cpp \ |
||
64 | $(GLSL_SRCDIR)/lower_jumps.cpp \ |
||
65 | $(GLSL_SRCDIR)/lower_mat_op_to_vec.cpp \ |
||
66 | $(GLSL_SRCDIR)/lower_noise.cpp \ |
||
67 | $(GLSL_SRCDIR)/lower_packed_varyings.cpp \ |
||
68 | $(GLSL_SRCDIR)/lower_named_interface_blocks.cpp \ |
||
69 | $(GLSL_SRCDIR)/lower_packing_builtins.cpp \ |
||
70 | $(GLSL_SRCDIR)/lower_texture_projection.cpp \ |
||
71 | $(GLSL_SRCDIR)/lower_variable_index_to_cond_assign.cpp \ |
||
72 | $(GLSL_SRCDIR)/lower_vec_index_to_cond_assign.cpp \ |
||
73 | $(GLSL_SRCDIR)/lower_vec_index_to_swizzle.cpp \ |
||
74 | $(GLSL_SRCDIR)/lower_vector.cpp \ |
||
75 | $(GLSL_SRCDIR)/lower_vector_insert.cpp \ |
||
76 | $(GLSL_SRCDIR)/lower_output_reads.cpp \ |
||
77 | $(GLSL_SRCDIR)/lower_ubo_reference.cpp \ |
||
78 | $(GLSL_SRCDIR)/opt_algebraic.cpp \ |
||
79 | $(GLSL_SRCDIR)/opt_array_splitting.cpp \ |
||
80 | $(GLSL_SRCDIR)/opt_constant_folding.cpp \ |
||
81 | $(GLSL_SRCDIR)/opt_constant_propagation.cpp \ |
||
82 | $(GLSL_SRCDIR)/opt_constant_variable.cpp \ |
||
83 | $(GLSL_SRCDIR)/opt_copy_propagation.cpp \ |
||
84 | $(GLSL_SRCDIR)/opt_copy_propagation_elements.cpp \ |
||
85 | $(GLSL_SRCDIR)/opt_dead_builtin_varyings.cpp \ |
||
86 | $(GLSL_SRCDIR)/opt_dead_code.cpp \ |
||
87 | $(GLSL_SRCDIR)/opt_dead_code_local.cpp \ |
||
88 | $(GLSL_SRCDIR)/opt_dead_functions.cpp \ |
||
89 | $(GLSL_SRCDIR)/opt_flatten_nested_if_blocks.cpp \ |
||
90 | $(GLSL_SRCDIR)/opt_flip_matrices.cpp \ |
||
91 | $(GLSL_SRCDIR)/opt_function_inlining.cpp \ |
||
92 | $(GLSL_SRCDIR)/opt_if_simplification.cpp \ |
||
93 | $(GLSL_SRCDIR)/opt_noop_swizzle.cpp \ |
||
94 | $(GLSL_SRCDIR)/opt_redundant_jumps.cpp \ |
||
95 | $(GLSL_SRCDIR)/opt_structure_splitting.cpp \ |
||
96 | $(GLSL_SRCDIR)/opt_swizzle_swizzle.cpp \ |
||
97 | $(GLSL_SRCDIR)/opt_tree_grafting.cpp \ |
||
98 | $(GLSL_SRCDIR)/s_expression.cpp \ |
||
99 | $(GLSL_SRCDIR)/strtod.c |
||
100 | |||
101 | # glsl_compiler |
||
102 | |||
103 | GLSL_COMPILER_CXX_FILES = \ |
||
104 | $(GLSL_SRCDIR)/standalone_scaffolding.cpp \ |
||
105 | $(GLSL_SRCDIR)/main.cpp |
||
106 | |||
107 | # builtin_compiler |
||
108 | # |
||
109 | # This is built before libglsl to generate builtin_function.cpp for libglsl. |
||
110 | # For this to work, a dummy version of builtin_function.cpp, |
||
111 | # builtin_stubs.cpp, is used. |
||
112 | |||
113 | BUILTIN_COMPILER_CXX_FILES = \ |
||
114 | $(GLSL_SRCDIR)/builtin_compiler/builtin_stubs.cpp |
||
115 | |||
116 | BUILTIN_COMPILER_GENERATED_CXX_FILES = \ |
||
117 | $(GLSL_BUILDDIR)/glsl_lexer.cpp \ |
||
118 | $(GLSL_BUILDDIR)/glsl_parser.cpp |
||
119 | |||
120 | # libglsl generated sources |
||
121 | LIBGLSL_GENERATED_CXX_FILES = \ |
||
122 | $(BUILTIN_COMPILER_GENERATED_CXX_FILES) \ |
||
123 | $(GLSL_BUILDDIR)/builtin_function.cpp |