1 # shared source lists for Makefile, SConscript, and Android.mk
8 LIBGLCPP_GENERATED_FILES := \
18 LIBGLSL_CXX_FILES := \
23 builtin_variables.cpp \
24 glsl_parser_extras.cpp \
26 glsl_symbol_table.cpp \
27 hir_field_selection.cpp \
31 ir_constant_expression.cpp \
33 ir_expression_flattening.cpp \
34 ir_function_can_inline.cpp \
35 ir_function_detect_recursion.cpp \
37 ir_hierarchical_visitor.cpp \
39 ir_import_prototypes.cpp \
40 ir_print_visitor.cpp \
42 ir_rvalue_visitor.cpp \
43 ir_set_program_inouts.cpp \
45 ir_variable_refcount.cpp \
49 link_uniform_initializers.cpp \
53 lower_clip_distance.cpp \
55 lower_discard_flow.cpp \
56 lower_if_to_cond_assign.cpp \
57 lower_instructions.cpp \
59 lower_mat_op_to_vec.cpp \
61 lower_texture_projection.cpp \
62 lower_variable_index_to_cond_assign.cpp \
63 lower_vec_index_to_cond_assign.cpp \
64 lower_vec_index_to_swizzle.cpp \
66 lower_output_reads.cpp \
68 opt_array_splitting.cpp \
69 opt_constant_folding.cpp \
70 opt_constant_propagation.cpp \
71 opt_constant_variable.cpp \
72 opt_copy_propagation.cpp \
73 opt_copy_propagation_elements.cpp \
75 opt_dead_code_local.cpp \
76 opt_dead_functions.cpp \
77 opt_function_inlining.cpp \
78 opt_if_simplification.cpp \
79 opt_noop_swizzle.cpp \
80 opt_redundant_jumps.cpp \
81 opt_structure_splitting.cpp \
82 opt_swizzle_swizzle.cpp \
83 opt_tree_grafting.cpp \
88 GLSL_COMPILER_CXX_FILES := \
89 standalone_scaffolding.cpp \
94 # This is built before libglsl to generate builtin_funciton.cpp for libglsl.
95 # For this to work, a dummy version of builtin_function.cpp,
96 # builtin_stubs.cpp, is used.
98 BUILTIN_COMPILER_CXX_FILES := \
101 BUILTIN_COMPILER_GENERATED_CXX_FILES := \
105 # libglsl generated sources
106 LIBGLSL_GENERATED_CXX_FILES := \
107 $(BUILTIN_COMPILER_GENERATED_CXX_FILES) \