• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LIBCOMPILER_FILES = \
2	blob.c \
3	blob.h \
4	builtin_type_macros.h \
5	glsl_types.cpp \
6	glsl_types.h \
7	nir_types.cpp \
8	nir_types.h \
9	shader_enums.c \
10	shader_enums.h \
11	shader_info.h
12
13# libglsl
14
15LIBGLSL_FILES = \
16	glsl/ast.h \
17	glsl/ast_array_index.cpp \
18	glsl/ast_expr.cpp \
19	glsl/ast_function.cpp \
20	glsl/ast_to_hir.cpp \
21	glsl/ast_type.cpp \
22	glsl/builtin_functions.cpp \
23	glsl/builtin_functions.h \
24	glsl/builtin_int64.h \
25	glsl/builtin_types.cpp \
26	glsl/builtin_variables.cpp \
27	glsl/generate_ir.cpp \
28	glsl/glsl_parser_extras.cpp \
29	glsl/glsl_parser_extras.h \
30	glsl/glsl_symbol_table.cpp \
31	glsl/glsl_symbol_table.h \
32	glsl/glsl_to_nir.cpp \
33	glsl/glsl_to_nir.h \
34	glsl/hir_field_selection.cpp \
35	glsl/ir_array_refcount.cpp \
36	glsl/ir_array_refcount.h \
37	glsl/ir_basic_block.cpp \
38	glsl/ir_basic_block.h \
39	glsl/ir_builder.cpp \
40	glsl/ir_builder.h \
41	glsl/ir_clone.cpp \
42	glsl/ir_constant_expression.cpp \
43	glsl/ir.cpp \
44	glsl/ir.h \
45	glsl/ir_equals.cpp \
46	glsl/ir_expression_flattening.cpp \
47	glsl/ir_expression_flattening.h \
48	glsl/ir_function_can_inline.cpp \
49	glsl/ir_function_detect_recursion.cpp \
50	glsl/ir_function_inlining.h \
51	glsl/ir_function.cpp \
52	glsl/ir_hierarchical_visitor.cpp \
53	glsl/ir_hierarchical_visitor.h \
54	glsl/ir_hv_accept.cpp \
55	glsl/ir_optimization.h \
56	glsl/ir_print_visitor.cpp \
57	glsl/ir_print_visitor.h \
58	glsl/ir_reader.cpp \
59	glsl/ir_reader.h \
60	glsl/ir_rvalue_visitor.cpp \
61	glsl/ir_rvalue_visitor.h \
62	glsl/ir_set_program_inouts.cpp \
63	glsl/ir_uniform.h \
64	glsl/ir_validate.cpp \
65	glsl/ir_variable_refcount.cpp \
66	glsl/ir_variable_refcount.h \
67	glsl/ir_visitor.h \
68	glsl/linker.cpp \
69	glsl/linker.h \
70	glsl/link_atomics.cpp \
71	glsl/link_functions.cpp \
72	glsl/link_interface_blocks.cpp \
73	glsl/link_uniforms.cpp \
74	glsl/link_uniform_initializers.cpp \
75	glsl/link_uniform_block_active_visitor.cpp \
76	glsl/link_uniform_block_active_visitor.h \
77	glsl/link_uniform_blocks.cpp \
78	glsl/link_varyings.cpp \
79	glsl/link_varyings.h \
80	glsl/list.h \
81	glsl/loop_analysis.cpp \
82	glsl/loop_analysis.h \
83	glsl/loop_unroll.cpp \
84	glsl/lower_blend_equation_advanced.cpp \
85	glsl/lower_buffer_access.cpp \
86	glsl/lower_buffer_access.h \
87	glsl/lower_const_arrays_to_uniforms.cpp \
88	glsl/lower_cs_derived.cpp \
89	glsl/lower_discard.cpp \
90	glsl/lower_discard_flow.cpp \
91	glsl/lower_distance.cpp \
92	glsl/lower_if_to_cond_assign.cpp \
93	glsl/lower_instructions.cpp \
94	glsl/lower_int64.cpp \
95	glsl/lower_jumps.cpp \
96	glsl/lower_mat_op_to_vec.cpp \
97	glsl/lower_noise.cpp \
98	glsl/lower_offset_array.cpp \
99	glsl/lower_packed_varyings.cpp \
100	glsl/lower_named_interface_blocks.cpp \
101	glsl/lower_packing_builtins.cpp \
102	glsl/lower_subroutine.cpp \
103	glsl/lower_tess_level.cpp \
104	glsl/lower_texture_projection.cpp \
105	glsl/lower_variable_index_to_cond_assign.cpp \
106	glsl/lower_vec_index_to_cond_assign.cpp \
107	glsl/lower_vec_index_to_swizzle.cpp \
108	glsl/lower_vector.cpp \
109	glsl/lower_vector_derefs.cpp \
110	glsl/lower_vector_insert.cpp \
111	glsl/lower_vertex_id.cpp \
112	glsl/lower_output_reads.cpp \
113	glsl/lower_shared_reference.cpp \
114	glsl/lower_ubo_reference.cpp \
115	glsl/opt_algebraic.cpp \
116	glsl/opt_array_splitting.cpp \
117	glsl/opt_conditional_discard.cpp \
118	glsl/opt_constant_folding.cpp \
119	glsl/opt_constant_propagation.cpp \
120	glsl/opt_constant_variable.cpp \
121	glsl/opt_copy_propagation.cpp \
122	glsl/opt_copy_propagation_elements.cpp \
123	glsl/opt_dead_builtin_variables.cpp \
124	glsl/opt_dead_builtin_varyings.cpp \
125	glsl/opt_dead_code.cpp \
126	glsl/opt_dead_code_local.cpp \
127	glsl/opt_dead_functions.cpp \
128	glsl/opt_flatten_nested_if_blocks.cpp \
129	glsl/opt_flip_matrices.cpp \
130	glsl/opt_function_inlining.cpp \
131	glsl/opt_if_simplification.cpp \
132	glsl/opt_minmax.cpp \
133	glsl/opt_rebalance_tree.cpp \
134	glsl/opt_redundant_jumps.cpp \
135	glsl/opt_structure_splitting.cpp \
136	glsl/opt_swizzle.cpp \
137	glsl/opt_tree_grafting.cpp \
138	glsl/opt_vectorize.cpp \
139	glsl/program.h \
140	glsl/propagate_invariance.cpp \
141	glsl/s_expression.cpp \
142	glsl/s_expression.h \
143	glsl/serialize.cpp \
144	glsl/serialize.h \
145	glsl/string_to_uint_map.cpp \
146	glsl/string_to_uint_map.h
147
148LIBGLSL_SHADER_CACHE_FILES = \
149	glsl/shader_cache.cpp \
150	glsl/shader_cache.h
151
152# glsl_compiler
153
154GLSL_COMPILER_CXX_FILES = \
155	glsl/ir_builder_print_visitor.cpp \
156	glsl/ir_builder_print_visitor.h \
157	glsl/opt_add_neg_to_sub.h \
158	glsl/standalone_scaffolding.cpp \
159	glsl/standalone_scaffolding.h \
160	glsl/standalone.cpp \
161	glsl/standalone.h
162
163# libglsl generated sources
164LIBGLSL_GENERATED_FILES = \
165	glsl/ir_expression_operation.h \
166	glsl/ir_expression_operation_constant.h \
167	glsl/ir_expression_operation_strings.h \
168	glsl/glsl_lexer.cpp \
169	glsl/glsl_parser.cpp \
170	glsl/glsl_parser.h
171
172# libglcpp
173
174LIBGLCPP_FILES = \
175	glsl/glcpp/glcpp.h \
176	glsl/glcpp/pp.c
177
178LIBGLCPP_GENERATED_FILES = \
179	glsl/glcpp/glcpp-lex.c \
180	glsl/glcpp/glcpp-parse.c
181
182NIR_GENERATED_FILES = \
183	nir/nir_builder_opcodes.h \
184	nir/nir_constant_expressions.c \
185	nir/nir_opcodes.c \
186	nir/nir_opcodes.h \
187	nir/nir_opt_algebraic.c
188
189NIR_FILES = \
190	nir/nir.c \
191	nir/nir.h \
192	nir/nir_builder.h \
193	nir/nir_clone.c \
194	nir/nir_constant_expressions.h \
195	nir/nir_control_flow.c \
196	nir/nir_control_flow.h \
197	nir/nir_control_flow_private.h \
198	nir/nir_dominance.c \
199	nir/nir_from_ssa.c \
200	nir/nir_gather_info.c \
201	nir/nir_gs_count_vertices.c \
202	nir/nir_inline_functions.c \
203	nir/nir_instr_set.c \
204	nir/nir_instr_set.h \
205	nir/nir_intrinsics.c \
206	nir/nir_intrinsics.h \
207	nir/nir_linking_helpers.c \
208	nir/nir_liveness.c \
209	nir/nir_loop_analyze.c \
210	nir/nir_loop_analyze.h \
211	nir/nir_lower_64bit_packing.c \
212	nir/nir_lower_alpha_test.c \
213	nir/nir_lower_alu_to_scalar.c \
214	nir/nir_lower_atomics.c \
215	nir/nir_lower_atomics_to_ssbo.c \
216	nir/nir_lower_bitmap.c \
217	nir/nir_lower_clamp_color_outputs.c \
218	nir/nir_lower_clip.c \
219	nir/nir_lower_clip_cull_distance_arrays.c \
220	nir/nir_lower_constant_initializers.c \
221	nir/nir_lower_double_ops.c \
222	nir/nir_lower_drawpixels.c \
223	nir/nir_lower_global_vars_to_local.c \
224	nir/nir_lower_gs_intrinsics.c \
225	nir/nir_lower_load_const_to_scalar.c \
226	nir/nir_lower_locals_to_regs.c \
227	nir/nir_lower_idiv.c \
228	nir/nir_lower_indirect_derefs.c \
229	nir/nir_lower_int64.c \
230	nir/nir_lower_io.c \
231	nir/nir_lower_io_arrays_to_elements.c \
232	nir/nir_lower_io_to_temporaries.c \
233	nir/nir_lower_io_to_scalar.c \
234	nir/nir_lower_io_types.c \
235	nir/nir_lower_passthrough_edgeflags.c \
236	nir/nir_lower_patch_vertices.c \
237	nir/nir_lower_phis_to_scalar.c \
238	nir/nir_lower_regs_to_ssa.c \
239	nir/nir_lower_returns.c \
240	nir/nir_lower_samplers.c \
241	nir/nir_lower_samplers_as_deref.c \
242	nir/nir_lower_subgroups.c \
243	nir/nir_lower_system_values.c \
244	nir/nir_lower_tex.c \
245	nir/nir_lower_to_source_mods.c \
246	nir/nir_lower_two_sided_color.c \
247	nir/nir_lower_uniforms_to_ubo.c \
248	nir/nir_lower_vars_to_ssa.c \
249	nir/nir_lower_var_copies.c \
250	nir/nir_lower_vec_to_movs.c \
251	nir/nir_lower_wpos_center.c \
252	nir/nir_lower_wpos_ytransform.c \
253	nir/nir_metadata.c \
254	nir/nir_move_vec_src_uses_to_dest.c \
255	nir/nir_normalize_cubemap_coords.c \
256	nir/nir_opt_conditional_discard.c \
257	nir/nir_opt_constant_folding.c \
258	nir/nir_opt_copy_prop_vars.c \
259	nir/nir_opt_copy_propagate.c \
260	nir/nir_opt_cse.c \
261	nir/nir_opt_dce.c \
262	nir/nir_opt_dead_cf.c \
263	nir/nir_opt_gcm.c \
264	nir/nir_opt_global_to_local.c \
265	nir/nir_opt_if.c \
266	nir/nir_opt_intrinsics.c \
267	nir/nir_opt_loop_unroll.c \
268	nir/nir_opt_move_comparisons.c \
269	nir/nir_opt_peephole_select.c \
270	nir/nir_opt_remove_phis.c \
271	nir/nir_opt_trivial_continues.c \
272	nir/nir_opt_undef.c \
273	nir/nir_phi_builder.c \
274	nir/nir_phi_builder.h \
275	nir/nir_print.c \
276	nir/nir_propagate_invariant.c \
277	nir/nir_remove_dead_variables.c \
278	nir/nir_repair_ssa.c \
279	nir/nir_search.c \
280	nir/nir_search.h \
281	nir/nir_search_helpers.h \
282	nir/nir_serialize.c \
283	nir/nir_serialize.h \
284	nir/nir_split_var_copies.c \
285	nir/nir_sweep.c \
286	nir/nir_to_lcssa.c \
287	nir/nir_validate.c \
288	nir/nir_vla.h \
289	nir/nir_worklist.c \
290	nir/nir_worklist.h
291
292SPIRV_GENERATED_FILES = \
293	spirv/spirv_info.c \
294	spirv/vtn_gather_types.c
295
296SPIRV_FILES = \
297	spirv/GLSL.std.450.h \
298	spirv/nir_spirv.h \
299	spirv/spirv.h \
300	spirv/spirv_info.h \
301	spirv/spirv_to_nir.c \
302	spirv/vtn_alu.c \
303	spirv/vtn_cfg.c \
304	spirv/vtn_glsl450.c \
305	spirv/vtn_private.h \
306	spirv/vtn_variables.c
307