Browse Source

shader_recompiler: Reduce unused includes

pull/15/merge
ameerj 5 years ago
parent
commit
574a2c4b77
  1. 2
      src/shader_recompiler/backend/glasm/emit_glasm_convert.cpp
  2. 2
      src/shader_recompiler/backend/glasm/emit_glasm_floating_point.cpp
  3. 2
      src/shader_recompiler/backend/glasm/emit_glasm_memory.cpp
  4. 3
      src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp
  5. 2
      src/shader_recompiler/backend/glasm/glasm_emit_context.cpp
  6. 3
      src/shader_recompiler/backend/glasm/reg_alloc.cpp
  7. 1
      src/shader_recompiler/backend/glsl/emit_glsl_barriers.cpp
  8. 2
      src/shader_recompiler/backend/glsl/emit_glsl_control_flow.cpp
  9. 2
      src/shader_recompiler/backend/glsl/emit_glsl_integer.cpp
  10. 2
      src/shader_recompiler/backend/glsl/emit_glsl_logical.cpp
  11. 2
      src/shader_recompiler/backend/glsl/emit_glsl_shared_memory.cpp
  12. 2
      src/shader_recompiler/backend/glsl/emit_glsl_special.cpp
  13. 2
      src/shader_recompiler/backend/glsl/emit_glsl_undefined.cpp
  14. 2
      src/shader_recompiler/backend/spirv/emit_spirv_barriers.cpp
  15. 1
      src/shader_recompiler/backend/spirv/emit_spirv_bitwise_conversion.cpp
  16. 2
      src/shader_recompiler/backend/spirv/emit_spirv_composite.cpp
  17. 1
      src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp
  18. 1
      src/shader_recompiler/backend/spirv/emit_spirv_control_flow.cpp
  19. 1
      src/shader_recompiler/backend/spirv/emit_spirv_convert.cpp
  20. 1
      src/shader_recompiler/backend/spirv/emit_spirv_floating_point.cpp
  21. 1
      src/shader_recompiler/backend/spirv/emit_spirv_image_atomic.cpp
  22. 1
      src/shader_recompiler/backend/spirv/emit_spirv_integer.cpp
  23. 1
      src/shader_recompiler/backend/spirv/emit_spirv_logical.cpp
  24. 1
      src/shader_recompiler/backend/spirv/emit_spirv_select.cpp
  25. 1
      src/shader_recompiler/backend/spirv/emit_spirv_shared_memory.cpp
  26. 1
      src/shader_recompiler/backend/spirv/emit_spirv_undefined.cpp
  27. 1
      src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp
  28. 1
      src/shader_recompiler/backend/spirv/spirv_emit_context.cpp
  29. 1
      src/shader_recompiler/backend/spirv/spirv_emit_context.h
  30. 1
      src/shader_recompiler/exception.h
  31. 2
      src/shader_recompiler/frontend/ir/basic_block.cpp
  32. 1
      src/shader_recompiler/frontend/ir/condition.h
  33. 2
      src/shader_recompiler/frontend/ir/opcodes.cpp
  34. 2
      src/shader_recompiler/frontend/ir/opcodes.h
  35. 1
      src/shader_recompiler/frontend/ir/value.cpp
  36. 2
      src/shader_recompiler/frontend/maxwell/control_flow.h
  37. 1
      src/shader_recompiler/frontend/maxwell/decode.cpp
  38. 1
      src/shader_recompiler/frontend/maxwell/indirect_branch_table_track.h
  39. 1
      src/shader_recompiler/frontend/maxwell/instruction.h
  40. 3
      src/shader_recompiler/frontend/maxwell/location.h
  41. 2
      src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp
  42. 1
      src/shader_recompiler/frontend/maxwell/translate/impl/attribute_memory_to_physical.cpp
  43. 2
      src/shader_recompiler/frontend/maxwell/translate/impl/barrier_operations.cpp
  44. 1
      src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h
  45. 1
      src/shader_recompiler/frontend/maxwell/translate/impl/exit_program.cpp
  46. 1
      src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_multi_function.cpp
  47. 2
      src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_helper.h
  48. 1
      src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_set.cpp
  49. 1
      src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_set_predicate.cpp
  50. 1
      src/shader_recompiler/frontend/maxwell/translate/impl/load_store_attribute.cpp
  51. 1
      src/shader_recompiler/frontend/maxwell/translate/impl/load_store_memory.cpp
  52. 1
      src/shader_recompiler/frontend/maxwell/translate/impl/move_register.cpp
  53. 3
      src/shader_recompiler/frontend/maxwell/translate/impl/surface_atomic_operations.cpp
  54. 2
      src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch_swizzled.cpp
  55. 2
      src/shader_recompiler/frontend/maxwell/translate/impl/texture_gather.cpp
  56. 2
      src/shader_recompiler/frontend/maxwell/translate/impl/texture_gather_swizzled.cpp
  57. 2
      src/shader_recompiler/frontend/maxwell/translate/impl/texture_gradient.cpp
  58. 2
      src/shader_recompiler/frontend/maxwell/translate/impl/texture_load.cpp
  59. 2
      src/shader_recompiler/frontend/maxwell/translate/impl/texture_mipmap_level.cpp
  60. 1
      src/shader_recompiler/frontend/maxwell/translate/impl/texture_query.cpp
  61. 2
      src/shader_recompiler/frontend/maxwell/translate/impl/warp_shuffle.cpp
  62. 5
      src/shader_recompiler/frontend/maxwell/translate_program.h
  63. 1
      src/shader_recompiler/ir_opt/constant_propagation_pass.cpp
  64. 3
      src/shader_recompiler/ir_opt/global_memory_to_storage_buffer_pass.cpp
  65. 3
      src/shader_recompiler/ir_opt/lower_fp16_to_fp32.cpp
  66. 3
      src/shader_recompiler/ir_opt/passes.h
  67. 1
      src/shader_recompiler/ir_opt/rescaling_pass.cpp
  68. 1
      src/shader_recompiler/ir_opt/ssa_rewrite_pass.cpp
  69. 1
      src/shader_recompiler/runtime_info.h

2
src/shader_recompiler/backend/glasm/emit_glasm_convert.cpp

@ -2,8 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <string_view>
#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"
#include "shader_recompiler/backend/glasm/glasm_emit_context.h"
#include "shader_recompiler/frontend/ir/modifiers.h"

2
src/shader_recompiler/backend/glasm/emit_glasm_floating_point.cpp

@ -2,8 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <string_view>
#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"
#include "shader_recompiler/backend/glasm/glasm_emit_context.h"
#include "shader_recompiler/frontend/ir/modifiers.h"

2
src/shader_recompiler/backend/glasm/emit_glasm_memory.cpp

@ -2,8 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <string_view>
#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"
#include "shader_recompiler/backend/glasm/glasm_emit_context.h"
#include "shader_recompiler/frontend/ir/program.h"

3
src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp

@ -2,11 +2,8 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <string_view>
#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"
#include "shader_recompiler/backend/glasm/glasm_emit_context.h"
#include "shader_recompiler/frontend/ir/program.h"
#include "shader_recompiler/frontend/ir/value.h"
#ifdef _MSC_VER

2
src/shader_recompiler/backend/glasm/glasm_emit_context.cpp

@ -2,8 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <string_view>
#include "shader_recompiler/backend/bindings.h"
#include "shader_recompiler/backend/glasm/emit_glasm.h"
#include "shader_recompiler/backend/glasm/glasm_emit_context.h"

3
src/shader_recompiler/backend/glasm/reg_alloc.cpp

@ -2,11 +2,8 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <string>
#include <fmt/format.h>
#include "shader_recompiler/backend/glasm/glasm_emit_context.h"
#include "shader_recompiler/backend/glasm/reg_alloc.h"
#include "shader_recompiler/exception.h"
#include "shader_recompiler/frontend/ir/value.h"

1
src/shader_recompiler/backend/glsl/emit_glsl_barriers.cpp

@ -4,7 +4,6 @@
#include "shader_recompiler/backend/glsl/emit_glsl_instructions.h"
#include "shader_recompiler/backend/glsl/glsl_emit_context.h"
#include "shader_recompiler/frontend/ir/value.h"
namespace Shader::Backend::GLSL {
void EmitBarrier(EmitContext& ctx) {

2
src/shader_recompiler/backend/glsl/emit_glsl_control_flow.cpp

@ -2,8 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <string_view>
#include "shader_recompiler/backend/glsl/emit_glsl_instructions.h"
#include "shader_recompiler/backend/glsl/glsl_emit_context.h"
#include "shader_recompiler/exception.h"

2
src/shader_recompiler/backend/glsl/emit_glsl_integer.cpp

@ -2,8 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <string_view>
#include "shader_recompiler/backend/glsl/emit_glsl_instructions.h"
#include "shader_recompiler/backend/glsl/glsl_emit_context.h"
#include "shader_recompiler/frontend/ir/value.h"

2
src/shader_recompiler/backend/glsl/emit_glsl_logical.cpp

@ -2,8 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <string_view>
#include "shader_recompiler/backend/glsl/emit_glsl_instructions.h"
#include "shader_recompiler/backend/glsl/glsl_emit_context.h"
#include "shader_recompiler/frontend/ir/value.h"

2
src/shader_recompiler/backend/glsl/emit_glsl_shared_memory.cpp

@ -2,8 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <string_view>
#include "shader_recompiler/backend/glsl/emit_glsl_instructions.h"
#include "shader_recompiler/backend/glsl/glsl_emit_context.h"
#include "shader_recompiler/frontend/ir/value.h"

2
src/shader_recompiler/backend/glsl/emit_glsl_special.cpp

@ -2,8 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <string_view>
#include "shader_recompiler/backend/glsl/emit_glsl_instructions.h"
#include "shader_recompiler/backend/glsl/glsl_emit_context.h"
#include "shader_recompiler/frontend/ir/program.h"

2
src/shader_recompiler/backend/glsl/emit_glsl_undefined.cpp

@ -2,8 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <string_view>
#include "shader_recompiler/backend/glsl/emit_glsl_instructions.h"
#include "shader_recompiler/backend/glsl/glsl_emit_context.h"

2
src/shader_recompiler/backend/spirv/emit_spirv_barriers.cpp

@ -2,10 +2,8 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "shader_recompiler/backend/spirv/emit_spirv.h"
#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"
#include "shader_recompiler/backend/spirv/spirv_emit_context.h"
#include "shader_recompiler/frontend/ir/modifiers.h"
namespace Shader::Backend::SPIRV {
namespace {

1
src/shader_recompiler/backend/spirv/emit_spirv_bitwise_conversion.cpp

@ -2,7 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "shader_recompiler/backend/spirv/emit_spirv.h"
#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"
#include "shader_recompiler/backend/spirv/spirv_emit_context.h"

2
src/shader_recompiler/backend/spirv/emit_spirv_composite.cpp

@ -2,10 +2,8 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "shader_recompiler/backend/spirv/emit_spirv.h"
#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"
#include "shader_recompiler/backend/spirv/spirv_emit_context.h"
#include "shader_recompiler/frontend/ir/modifiers.h"
namespace Shader::Backend::SPIRV {

1
src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp

@ -5,7 +5,6 @@
#include <tuple>
#include <utility>
#include "shader_recompiler/backend/spirv/emit_spirv.h"
#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"
#include "shader_recompiler/backend/spirv/spirv_emit_context.h"

1
src/shader_recompiler/backend/spirv/emit_spirv_control_flow.cpp

@ -2,7 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "shader_recompiler/backend/spirv/emit_spirv.h"
#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"
#include "shader_recompiler/backend/spirv/spirv_emit_context.h"

1
src/shader_recompiler/backend/spirv/emit_spirv_convert.cpp

@ -2,7 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "shader_recompiler/backend/spirv/emit_spirv.h"
#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"
#include "shader_recompiler/backend/spirv/spirv_emit_context.h"

1
src/shader_recompiler/backend/spirv/emit_spirv_floating_point.cpp

@ -2,7 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "shader_recompiler/backend/spirv/emit_spirv.h"
#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"
#include "shader_recompiler/backend/spirv/spirv_emit_context.h"
#include "shader_recompiler/frontend/ir/modifiers.h"

1
src/shader_recompiler/backend/spirv/emit_spirv_image_atomic.cpp

@ -2,7 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "shader_recompiler/backend/spirv/emit_spirv.h"
#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"
#include "shader_recompiler/backend/spirv/spirv_emit_context.h"
#include "shader_recompiler/frontend/ir/modifiers.h"

1
src/shader_recompiler/backend/spirv/emit_spirv_integer.cpp

@ -2,7 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "shader_recompiler/backend/spirv/emit_spirv.h"
#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"
#include "shader_recompiler/backend/spirv/spirv_emit_context.h"

1
src/shader_recompiler/backend/spirv/emit_spirv_logical.cpp

@ -2,7 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "shader_recompiler/backend/spirv/emit_spirv.h"
#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"
#include "shader_recompiler/backend/spirv/spirv_emit_context.h"

1
src/shader_recompiler/backend/spirv/emit_spirv_select.cpp

@ -2,7 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "shader_recompiler/backend/spirv/emit_spirv.h"
#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"
#include "shader_recompiler/backend/spirv/spirv_emit_context.h"

1
src/shader_recompiler/backend/spirv/emit_spirv_shared_memory.cpp

@ -2,7 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "shader_recompiler/backend/spirv/emit_spirv.h"
#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"
#include "shader_recompiler/backend/spirv/spirv_emit_context.h"

1
src/shader_recompiler/backend/spirv/emit_spirv_undefined.cpp

@ -2,7 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "shader_recompiler/backend/spirv/emit_spirv.h"
#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"
#include "shader_recompiler/backend/spirv/spirv_emit_context.h"

1
src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp

@ -2,7 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "shader_recompiler/backend/spirv/emit_spirv.h"
#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"
#include "shader_recompiler/backend/spirv/spirv_emit_context.h"

1
src/shader_recompiler/backend/spirv/spirv_emit_context.cpp

@ -5,7 +5,6 @@
#include <algorithm>
#include <array>
#include <climits>
#include <string_view>
#include <boost/container/static_vector.hpp>

1
src/shader_recompiler/backend/spirv/spirv_emit_context.h

@ -5,7 +5,6 @@
#pragma once
#include <array>
#include <string_view>
#include <sirit/sirit.h>

1
src/shader_recompiler/exception.h

@ -6,7 +6,6 @@
#include <exception>
#include <string>
#include <string_view>
#include <utility>
#include "common/logging/formatter.h"

2
src/shader_recompiler/frontend/ir/basic_block.cpp

@ -5,9 +5,7 @@
#include <algorithm>
#include <initializer_list>
#include <map>
#include <memory>
#include "common/bit_cast.h"
#include "common/common_types.h"
#include "shader_recompiler/frontend/ir/basic_block.h"
#include "shader_recompiler/frontend/ir/value.h"

1
src/shader_recompiler/frontend/ir/condition.h

@ -4,7 +4,6 @@
#pragma once
#include <compare>
#include <string>
#include <fmt/format.h>

2
src/shader_recompiler/frontend/ir/opcodes.cpp

@ -2,8 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <string_view>
#include "shader_recompiler/frontend/ir/opcodes.h"
namespace Shader::IR {

2
src/shader_recompiler/frontend/ir/opcodes.h

@ -4,9 +4,7 @@
#pragma once
#include <algorithm>
#include <array>
#include <string_view>
#include <fmt/format.h>

1
src/shader_recompiler/frontend/ir/value.cpp

@ -2,7 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "shader_recompiler/frontend/ir/opcodes.h"
#include "shader_recompiler/frontend/ir/value.h"
namespace Shader::IR {

2
src/shader_recompiler/frontend/maxwell/control_flow.h

@ -4,7 +4,6 @@
#pragma once
#include <compare>
#include <optional>
#include <span>
#include <string>
@ -15,6 +14,7 @@
#include "shader_recompiler/environment.h"
#include "shader_recompiler/frontend/ir/condition.h"
#include "shader_recompiler/frontend/ir/reg.h"
#include "shader_recompiler/frontend/maxwell/instruction.h"
#include "shader_recompiler/frontend/maxwell/location.h"
#include "shader_recompiler/frontend/maxwell/opcodes.h"

1
src/shader_recompiler/frontend/maxwell/decode.cpp

@ -6,7 +6,6 @@
#include <array>
#include <bit>
#include <memory>
#include <string_view>
#include "common/common_types.h"
#include "shader_recompiler/exception.h"

1
src/shader_recompiler/frontend/maxwell/indirect_branch_table_track.h

@ -6,7 +6,6 @@
#include <optional>
#include "common/bit_field.h"
#include "common/common_types.h"
#include "shader_recompiler/environment.h"
#include "shader_recompiler/frontend/ir/reg.h"

1
src/shader_recompiler/frontend/maxwell/instruction.h

@ -7,7 +7,6 @@
#include "common/bit_field.h"
#include "common/common_types.h"
#include "shader_recompiler/frontend/ir/flow_test.h"
#include "shader_recompiler/frontend/ir/reg.h"
namespace Shader::Maxwell {

3
src/shader_recompiler/frontend/maxwell/location.h

@ -4,9 +4,6 @@
#pragma once
#include <compare>
#include <iterator>
#include <fmt/format.h>
#include "common/common_types.h"

2
src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp

@ -8,7 +8,6 @@
#include <unordered_map>
#include <utility>
#include <vector>
#include <version>
#include <fmt/format.h>
@ -17,7 +16,6 @@
#include "shader_recompiler/environment.h"
#include "shader_recompiler/frontend/ir/basic_block.h"
#include "shader_recompiler/frontend/ir/ir_emitter.h"
#include "shader_recompiler/frontend/maxwell/decode.h"
#include "shader_recompiler/frontend/maxwell/structured_control_flow.h"
#include "shader_recompiler/frontend/maxwell/translate/translate.h"
#include "shader_recompiler/host_translate_info.h"

1
src/shader_recompiler/frontend/maxwell/translate/impl/attribute_memory_to_physical.cpp

@ -4,7 +4,6 @@
#include "common/bit_field.h"
#include "common/common_types.h"
#include "shader_recompiler/frontend/maxwell/opcodes.h"
#include "shader_recompiler/frontend/maxwell/translate/impl/impl.h"
namespace Shader::Maxwell {

2
src/shader_recompiler/frontend/maxwell/translate/impl/barrier_operations.cpp

@ -4,8 +4,6 @@
#include "common/bit_field.h"
#include "common/common_types.h"
#include "shader_recompiler/frontend/ir/modifiers.h"
#include "shader_recompiler/frontend/maxwell/opcodes.h"
#include "shader_recompiler/frontend/maxwell/translate/impl/impl.h"
namespace Shader::Maxwell {

1
src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h

@ -4,7 +4,6 @@
#pragma once
#include "common/common_types.h"
#include "shader_recompiler/frontend/maxwell/translate/impl/impl.h"
namespace Shader::Maxwell {

1
src/shader_recompiler/frontend/maxwell/translate/impl/exit_program.cpp

@ -3,7 +3,6 @@
// Refer to the license.txt file included.
#include "common/common_types.h"
#include "shader_recompiler/exception.h"
#include "shader_recompiler/frontend/maxwell/translate/impl/impl.h"
namespace Shader::Maxwell {

1
src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_multi_function.cpp

@ -5,7 +5,6 @@
#include "common/bit_field.h"
#include "common/common_types.h"
#include "shader_recompiler/exception.h"
#include "shader_recompiler/frontend/maxwell/opcodes.h"
#include "shader_recompiler/frontend/maxwell/translate/impl/impl.h"
namespace Shader::Maxwell {

2
src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_helper.h

@ -6,8 +6,6 @@
#include "common/common_types.h"
#include "shader_recompiler/exception.h"
#include "shader_recompiler/frontend/maxwell/translate/impl/common_encoding.h"
#include "shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h"
#include "shader_recompiler/frontend/maxwell/translate/impl/impl.h"
namespace Shader::Maxwell {

1
src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_set.cpp

@ -2,6 +2,7 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h"
#include "shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_helper.h"
namespace Shader::Maxwell {

1
src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_set_predicate.cpp

@ -2,6 +2,7 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h"
#include "shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_helper.h"
namespace Shader::Maxwell {

1
src/shader_recompiler/frontend/maxwell/translate/impl/load_store_attribute.cpp

@ -6,7 +6,6 @@
#include "common/common_types.h"
#include "shader_recompiler/exception.h"
#include "shader_recompiler/frontend/ir/ir_emitter.h"
#include "shader_recompiler/frontend/maxwell/opcodes.h"
#include "shader_recompiler/frontend/maxwell/translate/impl/impl.h"
namespace Shader::Maxwell {

1
src/shader_recompiler/frontend/maxwell/translate/impl/load_store_memory.cpp

@ -5,7 +5,6 @@
#include "common/bit_field.h"
#include "common/common_types.h"
#include "shader_recompiler/exception.h"
#include "shader_recompiler/frontend/maxwell/opcodes.h"
#include "shader_recompiler/frontend/maxwell/translate/impl/impl.h"
namespace Shader::Maxwell {

1
src/shader_recompiler/frontend/maxwell/translate/impl/move_register.cpp

@ -5,7 +5,6 @@
#include "common/bit_field.h"
#include "common/common_types.h"
#include "shader_recompiler/exception.h"
#include "shader_recompiler/frontend/maxwell/opcodes.h"
#include "shader_recompiler/frontend/maxwell/translate/impl/impl.h"
namespace Shader::Maxwell {

3
src/shader_recompiler/frontend/maxwell/translate/impl/surface_atomic_operations.cpp

@ -2,9 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <array>
#include <bit>
#include "common/bit_field.h"
#include "common/common_types.h"
#include "shader_recompiler/frontend/ir/modifiers.h"

2
src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch_swizzled.cpp

@ -2,8 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <utility>
#include "common/bit_field.h"
#include "common/common_types.h"
#include "shader_recompiler/frontend/ir/modifiers.h"

2
src/shader_recompiler/frontend/maxwell/translate/impl/texture_gather.cpp

@ -2,8 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <optional>
#include "common/bit_field.h"
#include "common/common_types.h"
#include "shader_recompiler/frontend/ir/modifiers.h"

2
src/shader_recompiler/frontend/maxwell/translate/impl/texture_gather_swizzled.cpp

@ -2,8 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <utility>
#include "common/bit_field.h"
#include "common/common_types.h"
#include "shader_recompiler/frontend/ir/modifiers.h"

2
src/shader_recompiler/frontend/maxwell/translate/impl/texture_gradient.cpp

@ -2,8 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <optional>
#include "common/bit_field.h"
#include "common/common_types.h"
#include "shader_recompiler/frontend/ir/modifiers.h"

2
src/shader_recompiler/frontend/maxwell/translate/impl/texture_load.cpp

@ -2,8 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <optional>
#include "common/bit_field.h"
#include "common/common_types.h"
#include "shader_recompiler/frontend/ir/modifiers.h"

2
src/shader_recompiler/frontend/maxwell/translate/impl/texture_mipmap_level.cpp

@ -2,8 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <optional>
#include "common/bit_field.h"
#include "common/common_types.h"
#include "shader_recompiler/frontend/ir/modifiers.h"

1
src/shader_recompiler/frontend/maxwell/translate/impl/texture_query.cpp

@ -6,7 +6,6 @@
#include "common/bit_field.h"
#include "common/common_types.h"
#include "shader_recompiler/frontend/ir/modifiers.h"
#include "shader_recompiler/frontend/maxwell/translate/impl/impl.h"
namespace Shader::Maxwell {

2
src/shader_recompiler/frontend/maxwell/translate/impl/warp_shuffle.cpp

@ -2,8 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <optional>
#include "common/bit_field.h"
#include "common/common_types.h"
#include "shader_recompiler/frontend/maxwell/translate/impl/impl.h"

5
src/shader_recompiler/frontend/maxwell/translate_program.h

@ -8,10 +8,13 @@
#include "shader_recompiler/frontend/ir/basic_block.h"
#include "shader_recompiler/frontend/ir/program.h"
#include "shader_recompiler/frontend/maxwell/control_flow.h"
#include "shader_recompiler/host_translate_info.h"
#include "shader_recompiler/object_pool.h"
#include "shader_recompiler/runtime_info.h"
namespace Shader {
struct HostTranslateInfo;
}
namespace Shader::Maxwell {
[[nodiscard]] IR::Program TranslateProgram(ObjectPool<IR::Inst>& inst_pool,

1
src/shader_recompiler/ir_opt/constant_propagation_pass.cpp

@ -8,7 +8,6 @@
#include <type_traits>
#include "common/bit_cast.h"
#include "common/bit_util.h"
#include "shader_recompiler/exception.h"
#include "shader_recompiler/frontend/ir/ir_emitter.h"
#include "shader_recompiler/frontend/ir/value.h"

3
src/shader_recompiler/ir_opt/global_memory_to_storage_buffer_pass.cpp

@ -2,10 +2,7 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <algorithm>
#include <compare>
#include <optional>
#include <queue>
#include <boost/container/flat_set.hpp>
#include <boost/container/small_vector.hpp>

3
src/shader_recompiler/ir_opt/lower_fp16_to_fp32.cpp

@ -2,9 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <algorithm>
#include "shader_recompiler/frontend/ir/ir_emitter.h"
#include "shader_recompiler/frontend/ir/value.h"
#include "shader_recompiler/ir_opt/passes.h"

3
src/shader_recompiler/ir_opt/passes.h

@ -4,10 +4,7 @@
#pragma once
#include <span>
#include "shader_recompiler/environment.h"
#include "shader_recompiler/frontend/ir/basic_block.h"
#include "shader_recompiler/frontend/ir/program.h"
namespace Shader::Optimization {

1
src/shader_recompiler/ir_opt/rescaling_pass.cpp

@ -2,7 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "common/alignment.h"
#include "common/settings.h"
#include "shader_recompiler/environment.h"
#include "shader_recompiler/frontend/ir/ir_emitter.h"

1
src/shader_recompiler/ir_opt/ssa_rewrite_pass.cpp

@ -20,7 +20,6 @@
#include <vector>
#include <boost/container/flat_map.hpp>
#include <boost/container/flat_set.hpp>
#include "shader_recompiler/frontend/ir/basic_block.h"
#include "shader_recompiler/frontend/ir/opcodes.h"

1
src/shader_recompiler/runtime_info.h

@ -5,7 +5,6 @@
#pragma once
#include <array>
#include <bitset>
#include <optional>
#include <vector>

Loading…
Cancel
Save