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/gl_nir_lower_atomics.c \ 29 glsl/gl_nir_lower_bindless_images.c \ 30 glsl/gl_nir_lower_buffers.c \ 31 glsl/gl_nir_lower_samplers.c \ 32 glsl/gl_nir_lower_samplers_as_deref.c \ 33 glsl/gl_nir_link_atomics.c \ 34 glsl/gl_nir_link_uniform_initializers.c \ 35 glsl/gl_nir_link_uniforms.c \ 36 glsl/gl_nir_link_xfb.c \ 37 glsl/gl_nir_linker.c \ 38 glsl/gl_nir_linker.h \ 39 glsl/gl_nir.h \ 40 glsl/glsl_parser_extras.cpp \ 41 glsl/glsl_parser_extras.h \ 42 glsl/glsl_symbol_table.cpp \ 43 glsl/glsl_symbol_table.h \ 44 glsl/glsl_to_nir.cpp \ 45 glsl/glsl_to_nir.h \ 46 glsl/hir_field_selection.cpp \ 47 glsl/ir_array_refcount.cpp \ 48 glsl/ir_array_refcount.h \ 49 glsl/ir_basic_block.cpp \ 50 glsl/ir_basic_block.h \ 51 glsl/ir_builder.cpp \ 52 glsl/ir_builder.h \ 53 glsl/ir_clone.cpp \ 54 glsl/ir_constant_expression.cpp \ 55 glsl/ir.cpp \ 56 glsl/ir.h \ 57 glsl/ir_equals.cpp \ 58 glsl/ir_expression_flattening.cpp \ 59 glsl/ir_expression_flattening.h \ 60 glsl/ir_function_can_inline.cpp \ 61 glsl/ir_function_detect_recursion.cpp \ 62 glsl/ir_function_inlining.h \ 63 glsl/ir_function.cpp \ 64 glsl/ir_hierarchical_visitor.cpp \ 65 glsl/ir_hierarchical_visitor.h \ 66 glsl/ir_hv_accept.cpp \ 67 glsl/ir_optimization.h \ 68 glsl/ir_print_visitor.cpp \ 69 glsl/ir_print_visitor.h \ 70 glsl/ir_reader.cpp \ 71 glsl/ir_reader.h \ 72 glsl/ir_rvalue_visitor.cpp \ 73 glsl/ir_rvalue_visitor.h \ 74 glsl/ir_set_program_inouts.cpp \ 75 glsl/ir_uniform.h \ 76 glsl/ir_validate.cpp \ 77 glsl/ir_variable_refcount.cpp \ 78 glsl/ir_variable_refcount.h \ 79 glsl/ir_visitor.h \ 80 glsl/linker.cpp \ 81 glsl/linker.h \ 82 glsl/linker_util.h \ 83 glsl/linker_util.cpp \ 84 glsl/link_atomics.cpp \ 85 glsl/link_functions.cpp \ 86 glsl/link_interface_blocks.cpp \ 87 glsl/link_uniforms.cpp \ 88 glsl/link_uniform_initializers.cpp \ 89 glsl/link_uniform_block_active_visitor.cpp \ 90 glsl/link_uniform_block_active_visitor.h \ 91 glsl/link_uniform_blocks.cpp \ 92 glsl/link_varyings.cpp \ 93 glsl/link_varyings.h \ 94 glsl/list.h \ 95 glsl/loop_analysis.cpp \ 96 glsl/loop_analysis.h \ 97 glsl/loop_unroll.cpp \ 98 glsl/lower_blend_equation_advanced.cpp \ 99 glsl/lower_buffer_access.cpp \ 100 glsl/lower_buffer_access.h \ 101 glsl/lower_const_arrays_to_uniforms.cpp \ 102 glsl/lower_cs_derived.cpp \ 103 glsl/lower_discard.cpp \ 104 glsl/lower_discard_flow.cpp \ 105 glsl/lower_distance.cpp \ 106 glsl/lower_if_to_cond_assign.cpp \ 107 glsl/lower_instructions.cpp \ 108 glsl/lower_int64.cpp \ 109 glsl/lower_jumps.cpp \ 110 glsl/lower_mat_op_to_vec.cpp \ 111 glsl/lower_noise.cpp \ 112 glsl/lower_offset_array.cpp \ 113 glsl/lower_packed_varyings.cpp \ 114 glsl/lower_named_interface_blocks.cpp \ 115 glsl/lower_packing_builtins.cpp \ 116 glsl/lower_subroutine.cpp \ 117 glsl/lower_tess_level.cpp \ 118 glsl/lower_texture_projection.cpp \ 119 glsl/lower_variable_index_to_cond_assign.cpp \ 120 glsl/lower_vec_index_to_cond_assign.cpp \ 121 glsl/lower_vec_index_to_swizzle.cpp \ 122 glsl/lower_vector.cpp \ 123 glsl/lower_vector_derefs.cpp \ 124 glsl/lower_vector_insert.cpp \ 125 glsl/lower_vertex_id.cpp \ 126 glsl/lower_output_reads.cpp \ 127 glsl/lower_shared_reference.cpp \ 128 glsl/lower_ubo_reference.cpp \ 129 glsl/opt_algebraic.cpp \ 130 glsl/opt_array_splitting.cpp \ 131 glsl/opt_conditional_discard.cpp \ 132 glsl/opt_constant_folding.cpp \ 133 glsl/opt_constant_propagation.cpp \ 134 glsl/opt_constant_variable.cpp \ 135 glsl/opt_copy_propagation_elements.cpp \ 136 glsl/opt_dead_builtin_variables.cpp \ 137 glsl/opt_dead_builtin_varyings.cpp \ 138 glsl/opt_dead_code.cpp \ 139 glsl/opt_dead_code_local.cpp \ 140 glsl/opt_dead_functions.cpp \ 141 glsl/opt_flatten_nested_if_blocks.cpp \ 142 glsl/opt_flip_matrices.cpp \ 143 glsl/opt_function_inlining.cpp \ 144 glsl/opt_if_simplification.cpp \ 145 glsl/opt_minmax.cpp \ 146 glsl/opt_rebalance_tree.cpp \ 147 glsl/opt_redundant_jumps.cpp \ 148 glsl/opt_structure_splitting.cpp \ 149 glsl/opt_swizzle.cpp \ 150 glsl/opt_tree_grafting.cpp \ 151 glsl/opt_vectorize.cpp \ 152 glsl/program.h \ 153 glsl/propagate_invariance.cpp \ 154 glsl/s_expression.cpp \ 155 glsl/s_expression.h \ 156 glsl/serialize.cpp \ 157 glsl/serialize.h \ 158 glsl/string_to_uint_map.cpp \ 159 glsl/string_to_uint_map.h 160 161LIBGLSL_SHADER_CACHE_FILES = \ 162 glsl/shader_cache.cpp \ 163 glsl/shader_cache.h 164 165# glsl_compiler 166 167GLSL_COMPILER_CXX_FILES = \ 168 glsl/ir_builder_print_visitor.cpp \ 169 glsl/ir_builder_print_visitor.h \ 170 glsl/opt_add_neg_to_sub.h \ 171 glsl/standalone_scaffolding.cpp \ 172 glsl/standalone_scaffolding.h \ 173 glsl/standalone.cpp \ 174 glsl/standalone.h 175 176# libglsl generated sources 177LIBGLSL_GENERATED_FILES = \ 178 glsl/ir_expression_operation.h \ 179 glsl/ir_expression_operation_constant.h \ 180 glsl/ir_expression_operation_strings.h \ 181 glsl/glsl_lexer.cpp \ 182 glsl/glsl_parser.cpp \ 183 glsl/glsl_parser.h \ 184 glsl/float64_glsl.h 185 186# libglcpp 187 188LIBGLCPP_FILES = \ 189 glsl/glcpp/glcpp.h \ 190 glsl/glcpp/pp.c 191 192LIBGLCPP_GENERATED_FILES = \ 193 glsl/glcpp/glcpp-lex.c \ 194 glsl/glcpp/glcpp-parse.c 195 196NIR_GENERATED_FILES = \ 197 nir/nir_builder_opcodes.h \ 198 nir/nir_constant_expressions.c \ 199 nir/nir_intrinsics.c \ 200 nir/nir_intrinsics.h \ 201 nir/nir_opcodes.c \ 202 nir/nir_opcodes.h \ 203 nir/nir_opt_algebraic.c 204 205NIR_FILES = \ 206 nir/nir.c \ 207 nir/nir.h \ 208 nir/nir_builder.h \ 209 nir/nir_builtin_builder.c \ 210 nir/nir_builtin_builder.h \ 211 nir/nir_clone.c \ 212 nir/nir_constant_expressions.h \ 213 nir/nir_control_flow.c \ 214 nir/nir_control_flow.h \ 215 nir/nir_control_flow_private.h \ 216 nir/nir_deref.c \ 217 nir/nir_deref.h \ 218 nir/nir_dominance.c \ 219 nir/nir_format_convert.h \ 220 nir/nir_from_ssa.c \ 221 nir/nir_gather_info.c \ 222 nir/nir_gather_ssa_types.c \ 223 nir/nir_gather_xfb_info.c \ 224 nir/nir_gs_count_vertices.c \ 225 nir/nir_inline_functions.c \ 226 nir/nir_instr_set.c \ 227 nir/nir_instr_set.h \ 228 nir/nir_linking_helpers.c \ 229 nir/nir_liveness.c \ 230 nir/nir_loop_analyze.c \ 231 nir/nir_loop_analyze.h \ 232 nir/nir_lower_alpha_test.c \ 233 nir/nir_lower_alu.c \ 234 nir/nir_lower_alu_to_scalar.c \ 235 nir/nir_lower_array_deref_of_vec.c \ 236 nir/nir_lower_atomics_to_ssbo.c \ 237 nir/nir_lower_bitmap.c \ 238 nir/nir_lower_bit_size.c \ 239 nir/nir_lower_bool_to_float.c \ 240 nir/nir_lower_bool_to_int32.c \ 241 nir/nir_lower_clamp_color_outputs.c \ 242 nir/nir_lower_clip.c \ 243 nir/nir_lower_clip_cull_distance_arrays.c \ 244 nir/nir_lower_constant_initializers.c \ 245 nir/nir_lower_double_ops.c \ 246 nir/nir_lower_drawpixels.c \ 247 nir/nir_lower_fb_read.c \ 248 nir/nir_lower_fragcoord_wtrans.c \ 249 nir/nir_lower_frexp.c \ 250 nir/nir_lower_global_vars_to_local.c \ 251 nir/nir_lower_gs_intrinsics.c \ 252 nir/nir_lower_load_const_to_scalar.c \ 253 nir/nir_lower_locals_to_regs.c \ 254 nir/nir_lower_idiv.c \ 255 nir/nir_lower_indirect_derefs.c \ 256 nir/nir_lower_int64.c \ 257 nir/nir_lower_io.c \ 258 nir/nir_lower_io_arrays_to_elements.c \ 259 nir/nir_lower_io_to_temporaries.c \ 260 nir/nir_lower_io_to_scalar.c \ 261 nir/nir_lower_io_to_vector.c \ 262 nir/nir_lower_non_uniform_access.c \ 263 nir/nir_lower_packing.c \ 264 nir/nir_lower_passthrough_edgeflags.c \ 265 nir/nir_lower_patch_vertices.c \ 266 nir/nir_lower_phis_to_scalar.c \ 267 nir/nir_lower_regs_to_ssa.c \ 268 nir/nir_lower_returns.c \ 269 nir/nir_lower_scratch.c \ 270 nir/nir_lower_subgroups.c \ 271 nir/nir_lower_system_values.c \ 272 nir/nir_lower_tex.c \ 273 nir/nir_lower_to_source_mods.c \ 274 nir/nir_lower_two_sided_color.c \ 275 nir/nir_lower_uniforms_to_ubo.c \ 276 nir/nir_lower_vars_to_ssa.c \ 277 nir/nir_lower_var_copies.c \ 278 nir/nir_lower_vec_to_movs.c \ 279 nir/nir_lower_viewport_transform.c \ 280 nir/nir_lower_wpos_center.c \ 281 nir/nir_lower_wpos_ytransform.c \ 282 nir/nir_metadata.c \ 283 nir/nir_move_load_const.c \ 284 nir/nir_move_vec_src_uses_to_dest.c \ 285 nir/nir_normalize_cubemap_coords.c \ 286 nir/nir_opt_combine_stores.c \ 287 nir/nir_opt_comparison_pre.c \ 288 nir/nir_opt_conditional_discard.c \ 289 nir/nir_opt_constant_folding.c \ 290 nir/nir_opt_copy_prop_vars.c \ 291 nir/nir_opt_copy_propagate.c \ 292 nir/nir_opt_cse.c \ 293 nir/nir_opt_dce.c \ 294 nir/nir_opt_dead_cf.c \ 295 nir/nir_opt_dead_write_vars.c \ 296 nir/nir_opt_find_array_copies.c \ 297 nir/nir_opt_gcm.c \ 298 nir/nir_opt_idiv_const.c \ 299 nir/nir_opt_if.c \ 300 nir/nir_opt_intrinsics.c \ 301 nir/nir_opt_loop_unroll.c \ 302 nir/nir_opt_large_constants.c \ 303 nir/nir_opt_move_comparisons.c \ 304 nir/nir_opt_move_load_ubo.c \ 305 nir/nir_opt_peephole_select.c \ 306 nir/nir_opt_remove_phis.c \ 307 nir/nir_opt_shrink_load.c \ 308 nir/nir_opt_trivial_continues.c \ 309 nir/nir_opt_undef.c \ 310 nir/nir_phi_builder.c \ 311 nir/nir_phi_builder.h \ 312 nir/nir_print.c \ 313 nir/nir_propagate_invariant.c \ 314 nir/nir_remove_dead_variables.c \ 315 nir/nir_repair_ssa.c \ 316 nir/nir_search.c \ 317 nir/nir_search.h \ 318 nir/nir_search_helpers.h \ 319 nir/nir_serialize.c \ 320 nir/nir_serialize.h \ 321 nir/nir_strip.c \ 322 nir/nir_split_per_member_structs.c \ 323 nir/nir_split_var_copies.c \ 324 nir/nir_split_vars.c \ 325 nir/nir_sweep.c \ 326 nir/nir_to_lcssa.c \ 327 nir/nir_validate.c \ 328 nir/nir_vla.h \ 329 nir/nir_worklist.c \ 330 nir/nir_worklist.h \ 331 nir/nir_xfb_info.h 332 333SPIRV_GENERATED_FILES = \ 334 spirv/spirv_info.c \ 335 spirv/vtn_gather_types.c 336 337SPIRV_FILES = \ 338 spirv/GLSL.ext.AMD.h \ 339 spirv/GLSL.std.450.h \ 340 spirv/gl_spirv.c \ 341 spirv/nir_spirv.h \ 342 spirv/OpenCL.std.h \ 343 spirv/spirv.h \ 344 spirv/spirv_info.h \ 345 spirv/spirv_to_nir.c \ 346 spirv/vtn_alu.c \ 347 spirv/vtn_amd.c \ 348 spirv/vtn_cfg.c \ 349 spirv/vtn_glsl450.c \ 350 spirv/vtn_opencl.c \ 351 spirv/vtn_private.h \ 352 spirv/vtn_subgroup.c \ 353 spirv/vtn_variables.c 354