2025-08-15 20:11:08 +02:00
|
|
|
# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
chore: make yuzu REUSE compliant
[REUSE] is a specification that aims at making file copyright
information consistent, so that it can be both human and machine
readable. It basically requires that all files have a header containing
copyright and licensing information. When this isn't possible, like
when dealing with binary assets, generated files or embedded third-party
dependencies, it is permitted to insert copyright information in the
`.reuse/dep5` file.
Oh, and it also requires that all the licenses used in the project are
present in the `LICENSES` folder, that's why the diff is so huge.
This can be done automatically with `reuse download --all`.
The `reuse` tool also contains a handy subcommand that analyzes the
project and tells whether or not the project is (still) compliant,
`reuse lint`.
Following REUSE has a few advantages over the current approach:
- Copyright information is easy to access for users / downstream
- Files like `dist/license.md` do not need to exist anymore, as
`.reuse/dep5` is used instead
- `reuse lint` makes it easy to ensure that copyright information of
files like binary assets / images is always accurate and up to date
To add copyright information of files that didn't have it I looked up
who committed what and when, for each file. As yuzu contributors do not
have to sign a CLA or similar I couldn't assume that copyright ownership
was of the "yuzu Emulator Project", so I used the name and/or email of
the commit author instead.
[REUSE]: https://reuse.software
Follow-up to b2eb10382941bef0914f4a0a4685b9033440aa9f
2022-05-15 02:06:02 +02:00
|
|
|
# SPDX-FileCopyrightText: 2018 yuzu Emulator Project
|
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
2021-02-17 00:59:28 -03:00
|
|
|
add_library(shader_recompiler STATIC
|
2021-05-03 20:53:00 -03:00
|
|
|
backend/bindings.h
|
2021-05-05 02:19:08 -03:00
|
|
|
backend/glasm/emit_glasm.cpp
|
|
|
|
backend/glasm/emit_glasm.h
|
|
|
|
backend/glasm/emit_glasm_barriers.cpp
|
|
|
|
backend/glasm/emit_glasm_bitwise_conversion.cpp
|
|
|
|
backend/glasm/emit_glasm_composite.cpp
|
|
|
|
backend/glasm/emit_glasm_context_get_set.cpp
|
|
|
|
backend/glasm/emit_glasm_control_flow.cpp
|
|
|
|
backend/glasm/emit_glasm_convert.cpp
|
|
|
|
backend/glasm/emit_glasm_floating_point.cpp
|
|
|
|
backend/glasm/emit_glasm_image.cpp
|
|
|
|
backend/glasm/emit_glasm_instructions.h
|
|
|
|
backend/glasm/emit_glasm_integer.cpp
|
|
|
|
backend/glasm/emit_glasm_logical.cpp
|
|
|
|
backend/glasm/emit_glasm_memory.cpp
|
|
|
|
backend/glasm/emit_glasm_not_implemented.cpp
|
|
|
|
backend/glasm/emit_glasm_select.cpp
|
|
|
|
backend/glasm/emit_glasm_shared_memory.cpp
|
|
|
|
backend/glasm/emit_glasm_special.cpp
|
|
|
|
backend/glasm/emit_glasm_undefined.cpp
|
|
|
|
backend/glasm/emit_glasm_warp.cpp
|
2021-12-05 16:33:44 -05:00
|
|
|
backend/glasm/glasm_emit_context.cpp
|
|
|
|
backend/glasm/glasm_emit_context.h
|
2021-05-05 02:19:08 -03:00
|
|
|
backend/glasm/reg_alloc.cpp
|
|
|
|
backend/glasm/reg_alloc.h
|
2021-05-19 21:58:32 -04:00
|
|
|
backend/glsl/emit_glsl.cpp
|
|
|
|
backend/glsl/emit_glsl.h
|
|
|
|
backend/glsl/emit_glsl_atomic.cpp
|
|
|
|
backend/glsl/emit_glsl_barriers.cpp
|
|
|
|
backend/glsl/emit_glsl_bitwise_conversion.cpp
|
|
|
|
backend/glsl/emit_glsl_composite.cpp
|
|
|
|
backend/glsl/emit_glsl_context_get_set.cpp
|
|
|
|
backend/glsl/emit_glsl_control_flow.cpp
|
|
|
|
backend/glsl/emit_glsl_convert.cpp
|
|
|
|
backend/glsl/emit_glsl_floating_point.cpp
|
|
|
|
backend/glsl/emit_glsl_image.cpp
|
|
|
|
backend/glsl/emit_glsl_instructions.h
|
|
|
|
backend/glsl/emit_glsl_integer.cpp
|
|
|
|
backend/glsl/emit_glsl_logical.cpp
|
|
|
|
backend/glsl/emit_glsl_memory.cpp
|
|
|
|
backend/glsl/emit_glsl_not_implemented.cpp
|
|
|
|
backend/glsl/emit_glsl_select.cpp
|
|
|
|
backend/glsl/emit_glsl_shared_memory.cpp
|
|
|
|
backend/glsl/emit_glsl_special.cpp
|
|
|
|
backend/glsl/emit_glsl_undefined.cpp
|
|
|
|
backend/glsl/emit_glsl_warp.cpp
|
2021-12-05 16:33:44 -05:00
|
|
|
backend/glsl/glsl_emit_context.cpp
|
|
|
|
backend/glsl/glsl_emit_context.h
|
2021-05-30 17:27:00 -04:00
|
|
|
backend/glsl/var_alloc.cpp
|
|
|
|
backend/glsl/var_alloc.h
|
2021-02-08 02:54:35 -03:00
|
|
|
backend/spirv/emit_spirv.cpp
|
2021-02-05 23:11:23 -03:00
|
|
|
backend/spirv/emit_spirv.h
|
2021-04-11 02:07:02 -04:00
|
|
|
backend/spirv/emit_spirv_atomic.cpp
|
2021-04-02 19:27:30 +02:00
|
|
|
backend/spirv/emit_spirv_barriers.cpp
|
2021-02-08 02:54:35 -03:00
|
|
|
backend/spirv/emit_spirv_bitwise_conversion.cpp
|
|
|
|
backend/spirv/emit_spirv_composite.cpp
|
|
|
|
backend/spirv/emit_spirv_context_get_set.cpp
|
|
|
|
backend/spirv/emit_spirv_control_flow.cpp
|
2021-02-19 18:10:18 -03:00
|
|
|
backend/spirv/emit_spirv_convert.cpp
|
2021-02-08 02:54:35 -03:00
|
|
|
backend/spirv/emit_spirv_floating_point.cpp
|
2021-03-08 18:31:53 -03:00
|
|
|
backend/spirv/emit_spirv_image.cpp
|
2021-04-23 17:47:54 -04:00
|
|
|
backend/spirv/emit_spirv_image_atomic.cpp
|
2021-05-03 20:53:00 -03:00
|
|
|
backend/spirv/emit_spirv_instructions.h
|
2021-02-08 02:54:35 -03:00
|
|
|
backend/spirv/emit_spirv_integer.cpp
|
|
|
|
backend/spirv/emit_spirv_logical.cpp
|
|
|
|
backend/spirv/emit_spirv_memory.cpp
|
|
|
|
backend/spirv/emit_spirv_select.cpp
|
2021-03-28 19:53:34 -03:00
|
|
|
backend/spirv/emit_spirv_shared_memory.cpp
|
2021-03-24 01:33:45 -03:00
|
|
|
backend/spirv/emit_spirv_special.cpp
|
2021-02-08 02:54:35 -03:00
|
|
|
backend/spirv/emit_spirv_undefined.cpp
|
2021-03-25 11:31:37 -04:00
|
|
|
backend/spirv/emit_spirv_warp.cpp
|
2021-12-05 16:33:44 -05:00
|
|
|
backend/spirv/spirv_emit_context.cpp
|
|
|
|
backend/spirv/spirv_emit_context.h
|
2021-01-09 03:30:07 -03:00
|
|
|
environment.h
|
|
|
|
exception.h
|
2021-05-14 00:40:54 -03:00
|
|
|
frontend/ir/abstract_syntax_list.h
|
2021-01-09 03:30:07 -03:00
|
|
|
frontend/ir/attribute.cpp
|
|
|
|
frontend/ir/attribute.h
|
|
|
|
frontend/ir/basic_block.cpp
|
|
|
|
frontend/ir/basic_block.h
|
2021-04-04 03:00:41 -03:00
|
|
|
frontend/ir/breadth_first_search.h
|
2021-01-09 03:30:07 -03:00
|
|
|
frontend/ir/condition.cpp
|
|
|
|
frontend/ir/condition.h
|
|
|
|
frontend/ir/flow_test.cpp
|
|
|
|
frontend/ir/flow_test.h
|
|
|
|
frontend/ir/ir_emitter.cpp
|
|
|
|
frontend/ir/ir_emitter.h
|
|
|
|
frontend/ir/microinstruction.cpp
|
2021-02-20 03:30:13 -03:00
|
|
|
frontend/ir/modifiers.h
|
2021-02-05 23:11:23 -03:00
|
|
|
frontend/ir/opcodes.cpp
|
|
|
|
frontend/ir/opcodes.h
|
|
|
|
frontend/ir/opcodes.inc
|
2021-04-15 22:46:11 -03:00
|
|
|
frontend/ir/patch.cpp
|
|
|
|
frontend/ir/patch.h
|
2021-02-14 20:15:42 -03:00
|
|
|
frontend/ir/post_order.cpp
|
|
|
|
frontend/ir/post_order.h
|
2021-01-09 03:30:07 -03:00
|
|
|
frontend/ir/pred.h
|
2021-02-05 23:11:23 -03:00
|
|
|
frontend/ir/program.cpp
|
|
|
|
frontend/ir/program.h
|
2021-01-09 03:30:07 -03:00
|
|
|
frontend/ir/reg.h
|
|
|
|
frontend/ir/type.cpp
|
|
|
|
frontend/ir/type.h
|
|
|
|
frontend/ir/value.cpp
|
|
|
|
frontend/ir/value.h
|
|
|
|
frontend/maxwell/control_flow.cpp
|
|
|
|
frontend/maxwell/control_flow.h
|
|
|
|
frontend/maxwell/decode.cpp
|
|
|
|
frontend/maxwell/decode.h
|
2021-03-27 22:30:24 +01:00
|
|
|
frontend/maxwell/indirect_branch_table_track.cpp
|
|
|
|
frontend/maxwell/indirect_branch_table_track.h
|
2021-01-09 03:30:07 -03:00
|
|
|
frontend/maxwell/instruction.h
|
|
|
|
frontend/maxwell/location.h
|
|
|
|
frontend/maxwell/maxwell.inc
|
2021-02-05 23:11:23 -03:00
|
|
|
frontend/maxwell/opcodes.cpp
|
|
|
|
frontend/maxwell/opcodes.h
|
2021-03-14 03:41:05 -03:00
|
|
|
frontend/maxwell/structured_control_flow.cpp
|
|
|
|
frontend/maxwell/structured_control_flow.h
|
2021-04-11 02:07:02 -04:00
|
|
|
frontend/maxwell/translate/impl/atomic_operations_global_memory.cpp
|
|
|
|
frontend/maxwell/translate/impl/atomic_operations_shared_memory.cpp
|
2021-04-04 02:42:58 +02:00
|
|
|
frontend/maxwell/translate/impl/attribute_memory_to_physical.cpp
|
2021-04-02 19:27:30 +02:00
|
|
|
frontend/maxwell/translate/impl/barrier_operations.cpp
|
2021-02-27 01:45:13 -05:00
|
|
|
frontend/maxwell/translate/impl/bitfield_extract.cpp
|
2021-02-27 16:37:49 -05:00
|
|
|
frontend/maxwell/translate/impl/bitfield_insert.cpp
|
2021-03-27 22:30:24 +01:00
|
|
|
frontend/maxwell/translate/impl/branch_indirect.cpp
|
2021-02-03 16:43:04 -03:00
|
|
|
frontend/maxwell/translate/impl/common_encoding.h
|
2021-03-01 01:30:09 -05:00
|
|
|
frontend/maxwell/translate/impl/common_funcs.cpp
|
|
|
|
frontend/maxwell/translate/impl/common_funcs.h
|
2021-03-17 00:53:53 -04:00
|
|
|
frontend/maxwell/translate/impl/condition_code_set.cpp
|
2021-03-18 02:53:57 -04:00
|
|
|
frontend/maxwell/translate/impl/double_add.cpp
|
2021-03-21 19:28:37 -04:00
|
|
|
frontend/maxwell/translate/impl/double_compare_and_set.cpp
|
2021-03-21 02:09:14 -04:00
|
|
|
frontend/maxwell/translate/impl/double_fused_multiply_add.cpp
|
2021-03-21 19:28:37 -04:00
|
|
|
frontend/maxwell/translate/impl/double_min_max.cpp
|
2021-03-21 02:09:14 -04:00
|
|
|
frontend/maxwell/translate/impl/double_multiply.cpp
|
2021-03-21 19:28:37 -04:00
|
|
|
frontend/maxwell/translate/impl/double_set_predicate.cpp
|
2021-03-19 19:28:31 -03:00
|
|
|
frontend/maxwell/translate/impl/exit_program.cpp
|
2021-03-01 15:58:16 -05:00
|
|
|
frontend/maxwell/translate/impl/find_leading_one.cpp
|
2021-02-03 16:43:04 -03:00
|
|
|
frontend/maxwell/translate/impl/floating_point_add.cpp
|
2021-03-10 22:42:17 -05:00
|
|
|
frontend/maxwell/translate/impl/floating_point_compare.cpp
|
2021-03-16 00:57:07 -04:00
|
|
|
frontend/maxwell/translate/impl/floating_point_compare_and_set.cpp
|
2021-03-21 09:32:16 +01:00
|
|
|
frontend/maxwell/translate/impl/floating_point_conversion_floating_point.cpp
|
2021-01-09 03:30:07 -03:00
|
|
|
frontend/maxwell/translate/impl/floating_point_conversion_integer.cpp
|
2021-02-03 16:43:04 -03:00
|
|
|
frontend/maxwell/translate/impl/floating_point_fused_multiply_add.cpp
|
2021-03-14 01:23:56 -05:00
|
|
|
frontend/maxwell/translate/impl/floating_point_min_max.cpp
|
2021-01-09 03:30:07 -03:00
|
|
|
frontend/maxwell/translate/impl/floating_point_multi_function.cpp
|
2021-02-03 16:43:04 -03:00
|
|
|
frontend/maxwell/translate/impl/floating_point_multiply.cpp
|
2021-02-22 22:59:16 -03:00
|
|
|
frontend/maxwell/translate/impl/floating_point_range_reduction.cpp
|
2021-03-16 00:57:07 -04:00
|
|
|
frontend/maxwell/translate/impl/floating_point_set_predicate.cpp
|
2021-03-28 22:23:45 -04:00
|
|
|
frontend/maxwell/translate/impl/floating_point_swizzled_add.cpp
|
2021-03-03 03:07:19 -03:00
|
|
|
frontend/maxwell/translate/impl/half_floating_point_add.cpp
|
2021-03-21 01:03:21 +01:00
|
|
|
frontend/maxwell/translate/impl/half_floating_point_fused_multiply_add.cpp
|
2021-03-20 21:22:21 +01:00
|
|
|
frontend/maxwell/translate/impl/half_floating_point_helper.cpp
|
|
|
|
frontend/maxwell/translate/impl/half_floating_point_helper.h
|
2021-03-21 02:08:04 +01:00
|
|
|
frontend/maxwell/translate/impl/half_floating_point_multiply.cpp
|
2021-03-21 03:48:40 +01:00
|
|
|
frontend/maxwell/translate/impl/half_floating_point_set.cpp
|
2021-05-05 02:19:08 -03:00
|
|
|
frontend/maxwell/translate/impl/half_floating_point_set_predicate.cpp
|
2021-01-09 03:30:07 -03:00
|
|
|
frontend/maxwell/translate/impl/impl.cpp
|
|
|
|
frontend/maxwell/translate/impl/impl.h
|
2021-02-03 16:43:04 -03:00
|
|
|
frontend/maxwell/translate/impl/integer_add.cpp
|
2021-03-02 14:59:28 -05:00
|
|
|
frontend/maxwell/translate/impl/integer_add_three_input.cpp
|
2021-03-01 00:18:30 -05:00
|
|
|
frontend/maxwell/translate/impl/integer_compare.cpp
|
2021-03-01 01:30:09 -05:00
|
|
|
frontend/maxwell/translate/impl/integer_compare_and_set.cpp
|
2021-03-20 05:04:12 -03:00
|
|
|
frontend/maxwell/translate/impl/integer_floating_point_conversion.cpp
|
2021-03-07 14:48:03 -05:00
|
|
|
frontend/maxwell/translate/impl/integer_funnel_shift.cpp
|
2021-02-28 23:33:53 -05:00
|
|
|
frontend/maxwell/translate/impl/integer_minimum_maximum.cpp
|
2021-02-26 21:41:46 -05:00
|
|
|
frontend/maxwell/translate/impl/integer_popcount.cpp
|
2021-02-03 16:43:04 -03:00
|
|
|
frontend/maxwell/translate/impl/integer_scaled_add.cpp
|
|
|
|
frontend/maxwell/translate/impl/integer_set_predicate.cpp
|
|
|
|
frontend/maxwell/translate/impl/integer_shift_left.cpp
|
2021-02-25 00:46:40 -05:00
|
|
|
frontend/maxwell/translate/impl/integer_shift_right.cpp
|
2021-02-03 16:43:04 -03:00
|
|
|
frontend/maxwell/translate/impl/integer_short_multiply_add.cpp
|
2021-03-04 01:02:44 -05:00
|
|
|
frontend/maxwell/translate/impl/integer_to_integer_conversion.cpp
|
2021-04-11 21:33:18 -03:00
|
|
|
frontend/maxwell/translate/impl/internal_stage_buffer_entry_read.cpp
|
2021-03-09 17:14:57 -03:00
|
|
|
frontend/maxwell/translate/impl/load_constant.cpp
|
2021-03-27 22:30:24 +01:00
|
|
|
frontend/maxwell/translate/impl/load_constant.h
|
2021-03-05 01:15:16 -05:00
|
|
|
frontend/maxwell/translate/impl/load_effective_address.cpp
|
2021-01-09 03:30:07 -03:00
|
|
|
frontend/maxwell/translate/impl/load_store_attribute.cpp
|
2021-03-28 19:53:34 -03:00
|
|
|
frontend/maxwell/translate/impl/load_store_local_shared.cpp
|
2021-01-09 03:30:07 -03:00
|
|
|
frontend/maxwell/translate/impl/load_store_memory.cpp
|
2021-03-03 00:41:05 -05:00
|
|
|
frontend/maxwell/translate/impl/logic_operation.cpp
|
|
|
|
frontend/maxwell/translate/impl/logic_operation_three_input.cpp
|
2021-02-21 17:50:14 -03:00
|
|
|
frontend/maxwell/translate/impl/move_predicate_to_register.cpp
|
2021-02-03 16:43:04 -03:00
|
|
|
frontend/maxwell/translate/impl/move_register.cpp
|
2021-03-07 22:01:22 -05:00
|
|
|
frontend/maxwell/translate/impl/move_register_to_predicate.cpp
|
2021-02-03 16:43:04 -03:00
|
|
|
frontend/maxwell/translate/impl/move_special_register.cpp
|
2021-02-21 17:50:14 -03:00
|
|
|
frontend/maxwell/translate/impl/not_implemented.cpp
|
2021-04-12 03:48:15 -03:00
|
|
|
frontend/maxwell/translate/impl/output_geometry.cpp
|
2021-04-16 17:22:59 -03:00
|
|
|
frontend/maxwell/translate/impl/pixel_load.cpp
|
2021-03-02 13:42:09 -05:00
|
|
|
frontend/maxwell/translate/impl/predicate_set_predicate.cpp
|
|
|
|
frontend/maxwell/translate/impl/predicate_set_register.cpp
|
2021-02-24 20:31:15 -05:00
|
|
|
frontend/maxwell/translate/impl/select_source_with_predicate.cpp
|
2021-04-23 17:47:54 -04:00
|
|
|
frontend/maxwell/translate/impl/surface_atomic_operations.cpp
|
2021-04-09 01:45:39 -03:00
|
|
|
frontend/maxwell/translate/impl/surface_load_store.cpp
|
2021-03-15 04:54:43 -03:00
|
|
|
frontend/maxwell/translate/impl/texture_fetch.cpp
|
|
|
|
frontend/maxwell/translate/impl/texture_fetch_swizzled.cpp
|
2021-03-24 23:41:55 +01:00
|
|
|
frontend/maxwell/translate/impl/texture_gather.cpp
|
2021-05-05 02:19:08 -03:00
|
|
|
frontend/maxwell/translate/impl/texture_gather_swizzled.cpp
|
2021-03-29 02:52:52 +02:00
|
|
|
frontend/maxwell/translate/impl/texture_gradient.cpp
|
2021-03-26 20:51:05 +01:00
|
|
|
frontend/maxwell/translate/impl/texture_load.cpp
|
2021-05-05 02:19:08 -03:00
|
|
|
frontend/maxwell/translate/impl/texture_load_swizzled.cpp
|
2021-03-28 21:25:08 +02:00
|
|
|
frontend/maxwell/translate/impl/texture_mipmap_level.cpp
|
2021-03-26 18:45:38 -03:00
|
|
|
frontend/maxwell/translate/impl/texture_query.cpp
|
2021-03-27 19:47:00 -04:00
|
|
|
frontend/maxwell/translate/impl/video_helper.cpp
|
|
|
|
frontend/maxwell/translate/impl/video_helper.h
|
|
|
|
frontend/maxwell/translate/impl/video_minimum_maximum.cpp
|
|
|
|
frontend/maxwell/translate/impl/video_multiply_add.cpp
|
|
|
|
frontend/maxwell/translate/impl/video_set_predicate.cpp
|
2021-03-23 20:27:17 -04:00
|
|
|
frontend/maxwell/translate/impl/vote.cpp
|
2021-03-25 11:31:37 -04:00
|
|
|
frontend/maxwell/translate/impl/warp_shuffle.cpp
|
2021-01-09 03:30:07 -03:00
|
|
|
frontend/maxwell/translate/translate.cpp
|
|
|
|
frontend/maxwell/translate/translate.h
|
2021-06-16 01:49:19 -03:00
|
|
|
frontend/maxwell/translate_program.cpp
|
|
|
|
frontend/maxwell/translate_program.h
|
2021-06-16 03:03:08 -03:00
|
|
|
host_translate_info.h
|
2021-02-16 04:10:22 -03:00
|
|
|
ir_opt/collect_shader_info_pass.cpp
|
2023-06-10 11:40:58 -04:00
|
|
|
ir_opt/conditional_barrier_pass.cpp
|
2021-02-05 05:58:02 -03:00
|
|
|
ir_opt/constant_propagation_pass.cpp
|
2021-01-09 03:30:07 -03:00
|
|
|
ir_opt/dead_code_elimination_pass.cpp
|
2021-04-19 01:03:38 +02:00
|
|
|
ir_opt/dual_vertex_pass.cpp
|
2021-02-05 05:58:02 -03:00
|
|
|
ir_opt/global_memory_to_storage_buffer_pass.cpp
|
2021-01-09 03:30:07 -03:00
|
|
|
ir_opt/identity_removal_pass.cpp
|
2022-11-30 17:16:00 -05:00
|
|
|
ir_opt/layer_pass.cpp
|
2021-02-19 18:10:18 -03:00
|
|
|
ir_opt/lower_fp16_to_fp32.cpp
|
2023-06-09 22:57:50 -04:00
|
|
|
ir_opt/lower_fp64_to_fp32.cpp
|
2021-06-23 01:33:42 -03:00
|
|
|
ir_opt/lower_int64_to_int32.cpp
|
2021-01-09 03:30:07 -03:00
|
|
|
ir_opt/passes.h
|
2022-09-01 22:05:11 +08:00
|
|
|
ir_opt/position_pass.cpp
|
2021-07-21 22:25:34 -03:00
|
|
|
ir_opt/rescaling_pass.cpp
|
2021-02-02 21:07:00 -03:00
|
|
|
ir_opt/ssa_rewrite_pass.cpp
|
2021-03-08 18:31:53 -03:00
|
|
|
ir_opt/texture_pass.cpp
|
2023-11-17 22:29:12 -05:00
|
|
|
ir_opt/vendor_workaround_pass.cpp
|
2021-01-09 03:30:07 -03:00
|
|
|
ir_opt/verification_pass.cpp
|
2021-02-05 23:11:23 -03:00
|
|
|
object_pool.h
|
2022-11-22 18:38:23 -05:00
|
|
|
precompiled_headers.h
|
2021-02-17 00:59:28 -03:00
|
|
|
profile.h
|
2021-05-05 02:19:08 -03:00
|
|
|
program_header.h
|
2021-06-16 03:22:56 -03:00
|
|
|
runtime_info.h
|
2021-02-16 04:10:22 -03:00
|
|
|
shader_info.h
|
2021-06-24 02:41:09 -03:00
|
|
|
varying_state.h
|
2025-08-15 20:11:08 +02:00
|
|
|
|
2021-01-09 03:30:07 -03:00
|
|
|
)
|
2021-02-08 02:54:35 -03:00
|
|
|
|
[cmake] update CI deps, feat: sirit CI + new CI spec (#2655)
Updates sirit to our fork's latest version w/ SPIRV Headers included
(end goal is to remove spirv-headers entirely, as spirv-tools-ci should
include them inline as well)
Adds a sirit CI on our fork for all platforms (saves a bit of compile
time)
My CI spec has changed a little bit, and now there is no need for an
additional CMake file after the initial CMakeLists.txt (since targets
are now global imported). Plus, UNIX amd64 now has the amd64 suffix like
aarch64 and windows
Updates SDL2 to 2.32.10 and OpenSSL to 3.6.0
Finally, on Solaris all CI packages (sans FFmpeg) are now built with OmniOS, which
should in theory be fully compatible with OpenIndiana (our recommended
Sun-based target) but obviously will need testing
Need testing:
- [ ] Make sure I didn't nuke shader emission
- [ ] Make sure FreeBSD, OpenBSD, and OpenIndiana work fine with bundled
sirit (check linking especially)
- [ ] Make sure SDL2, OpenSSL work with OpenIndiana now
- [ ] SDL2 on all platforms (input, etc)
Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2655
2025-10-04 09:27:13 +02:00
|
|
|
target_link_libraries(shader_recompiler PUBLIC common fmt::fmt sirit::sirit SPIRV-Tools::SPIRV-Tools)
|
2021-02-17 00:59:28 -03:00
|
|
|
|
2021-01-09 03:30:07 -03:00
|
|
|
if (MSVC)
|
|
|
|
target_compile_options(shader_recompiler PRIVATE
|
2022-10-21 02:34:06 -04:00
|
|
|
/we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data
|
2021-01-09 03:30:07 -03:00
|
|
|
/we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data
|
|
|
|
/we4800 # Implicit conversion from 'type' to bool. Possible information loss
|
|
|
|
)
|
|
|
|
else()
|
|
|
|
target_compile_options(shader_recompiler PRIVATE
|
|
|
|
-Werror=conversion
|
2021-04-05 22:25:22 -04:00
|
|
|
|
2021-04-10 02:32:55 -04:00
|
|
|
# Bracket depth determines maximum size of a fold expression in Clang since 9c9974c3ccb6.
|
|
|
|
# And this in turns limits the size of a std::array.
|
2021-04-05 22:25:22 -04:00
|
|
|
$<$<CXX_COMPILER_ID:Clang>:-fbracket-depth=1024>
|
2022-11-21 11:31:18 -05:00
|
|
|
$<$<CXX_COMPILER_ID:AppleClang>:-fbracket-depth=1024>
|
2021-01-09 03:30:07 -03:00
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
create_target_directory_groups(shader_recompiler)
|
2022-11-22 18:38:23 -05:00
|
|
|
|
|
|
|
if (YUZU_USE_PRECOMPILED_HEADERS)
|
|
|
|
target_precompile_headers(shader_recompiler PRIVATE precompiled_headers.h)
|
|
|
|
endif()
|