id
int64
0
755k
file_name
stringlengths
3
109
file_path
stringlengths
13
185
content
stringlengths
31
9.38M
size
int64
31
9.38M
language
stringclasses
1 value
extension
stringclasses
11 values
total_lines
int64
1
340k
avg_line_length
float64
2.18
149k
max_line_length
int64
7
2.22M
alphanum_fraction
float64
0
1
repo_name
stringlengths
6
65
repo_stars
int64
100
47.3k
repo_forks
int64
0
12k
repo_open_issues
int64
0
3.4k
repo_license
stringclasses
9 values
repo_extraction_date
stringclasses
92 values
exact_duplicates_redpajama
bool
2 classes
near_duplicates_redpajama
bool
2 classes
exact_duplicates_githubcode
bool
2 classes
exact_duplicates_stackv2
bool
1 class
exact_duplicates_stackv1
bool
2 classes
near_duplicates_githubcode
bool
2 classes
near_duplicates_stackv1
bool
2 classes
near_duplicates_stackv2
bool
1 class
15,674
image_view.cpp
shadps4-emu_shadPS4/src/video_core/texture_cache/image_view.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "common/logging/log.h" #include "shader_recompiler/info.h" #include "video_core/amdgpu/resource.h" #include "video_core/renderer_vulkan/liverpool_to_vk.h" #include "video_core/renderer_vulkan/vk_ins...
7,579
C++
.cpp
176
35.965909
100
0.657688
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,675
tile_manager.cpp
shadps4-emu_shadPS4/src/video_core/texture_cache/tile_manager.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "video_core/renderer_vulkan/vk_instance.h" #include "video_core/renderer_vulkan/vk_scheduler.h" #include "video_core/renderer_vulkan/vk_shader_util.h" #include "video_core/texture_cache/image_view.h...
17,824
C++
.cpp
411
34.759124
100
0.599908
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,676
buffer.cpp
shadps4-emu_shadPS4/src/video_core/buffer_cache/buffer.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "common/alignment.h" #include "common/assert.h" #include "video_core/buffer_cache/buffer.h" #include "video_core/renderer_vulkan/liverpool_to_vk.h" #include "video_core/renderer_vulkan/vk_instance.h...
8,161
C++
.cpp
187
36.818182
100
0.675897
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,677
buffer_cache.cpp
shadps4-emu_shadPS4/src/video_core/buffer_cache/buffer_cache.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <algorithm> #include "common/alignment.h" #include "common/scope_exit.h" #include "common/types.h" #include "shader_recompiler/info.h" #include "video_core/amdgpu/liverpool.h" #include "vid...
29,230
C++
.cpp
635
36.714961
101
0.627452
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,678
liverpool.cpp
shadps4-emu_shadPS4/src/video_core/amdgpu/liverpool.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "common/assert.h" #include "common/config.h" #include "common/debug.h" #include "common/polyfill_thread.h" #include "common/thread.h" #include "core/debug_state.h" #include "core/libraries/videoout/...
37,116
C++
.cpp
768
33.115885
100
0.529407
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,679
pixel_format.cpp
shadps4-emu_shadPS4/src/video_core/amdgpu/pixel_format.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <array> #include "common/assert.h" #include "video_core/amdgpu/pixel_format.h" namespace AmdGpu { std::string_view NameOf(DataFormat fmt) { switch (fmt) { case DataFormat::FormatInvalid: ...
8,837
C++
.cpp
233
32.287554
92
0.551042
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,680
default_context.cpp
shadps4-emu_shadPS4/src/video_core/amdgpu/default_context.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "common/types.h" #include "video_core/amdgpu/liverpool.h" #include <array> namespace AmdGpu { // The following values are taken from fpPS4: // https://github.com/red-prig/fpPS4/blob/436b43064be4c...
2,854
C++
.cpp
47
56.489362
104
0.779921
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,681
recompiler.cpp
shadps4-emu_shadPS4/src/shader_recompiler/recompiler.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/frontend/control_flow_graph.h" #include "shader_recompiler/frontend/decode.h" #include "shader_recompiler/frontend/structured_control_flow.h" #include "shader_recompiler/ir/passes...
2,990
C++
.cpp
64
40.703125
94
0.709334
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,682
post_order.cpp
shadps4-emu_shadPS4/src/shader_recompiler/ir/post_order.cpp
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <algorithm> #include <boost/container/flat_set.hpp> #include <boost/container/small_vector.hpp> #include "shader_recompiler/ir/post_order.h" namespace Shader::IR { BlockList PostOrder(const AbstractS...
1,385
C++
.cpp
36
31.75
82
0.654505
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,683
attribute.cpp
shadps4-emu_shadPS4/src/shader_recompiler/ir/attribute.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <fmt/format.h> #include "shader_recompiler/ir/attribute.h" namespace Shader::IR { std::string NameOf(Attribute attribute) { switch (attribute) { case Attribute::RenderTarget0: retu...
3,487
C++
.cpp
119
22.722689
79
0.6522
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,684
program.cpp
shadps4-emu_shadPS4/src/shader_recompiler/ir/program.cpp
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <map> #include <string> #include <fmt/format.h> #include "shader_recompiler/ir/basic_block.h" #include "shader_recompiler/ir/program.h" #include "shader_recompiler/ir/value.h" namespace Shader::IR {...
831
C++
.cpp
24
30.833333
82
0.68625
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,685
opcodes.cpp
shadps4-emu_shadPS4/src/shader_recompiler/ir/opcodes.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/ir/opcodes.h" namespace Shader::IR { std::string_view NameOf(Opcode op) { return Detail::META_TABLE[static_cast<size_t>(op)].name; } } // namespace Shader::IR
307
C++
.cpp
8
36.375
66
0.762712
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,686
type.cpp
shadps4-emu_shadPS4/src/shader_recompiler/ir/type.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <array> #include <string> #include "shader_recompiler/ir/type.h" namespace Shader::IR { std::string NameOf(Type type) { static constexpr std::array names{ "Opaque", "Label", "Reg", "...
1,098
C++
.cpp
30
30.9
100
0.541863
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,687
microinstruction.cpp
shadps4-emu_shadPS4/src/shader_recompiler/ir/microinstruction.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <algorithm> #include <memory> #include "shader_recompiler/exception.h" #include "shader_recompiler/ir/basic_block.h" #include "shader_recompiler/ir/type.h" #include "shader_recompiler/ir/value.h" ...
5,640
C++
.cpp
186
24.989247
89
0.651518
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,688
ir_emitter.cpp
shadps4-emu_shadPS4/src/shader_recompiler/ir/ir_emitter.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <array> #include <bit> #include <source_location> #include <boost/container/small_vector.hpp> #include "common/assert.h" #include "shader_recompiler/exception.h" #include "shader_recompiler/ir/debug...
52,563
C++
.cpp
1,397
31.5068
100
0.648216
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,689
value.cpp
shadps4-emu_shadPS4/src/shader_recompiler/ir/value.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <cstddef> #include <string_view> #include "common/hash.h" #include "shader_recompiler/ir/value.h" namespace Shader::IR { Value::Value(IR::Inst* value) noexcept : type{Type::Opaque}, inst{value} {}...
4,230
C++
.cpp
129
27.689922
94
0.643382
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,690
basic_block.cpp
shadps4-emu_shadPS4/src/shader_recompiler/ir/basic_block.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <algorithm> #include <initializer_list> #include <map> #include "shader_recompiler/ir/basic_block.h" #include "shader_recompiler/ir/value.h" namespace Shader::IR { Block::Block(Common::ObjectPool<...
5,648
C++
.cpp
137
33.445255
95
0.570883
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,691
shader_info_collection_pass.cpp
shadps4-emu_shadPS4/src/shader_recompiler/ir/passes/shader_info_collection_pass.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/ir/program.h" namespace Shader::Optimization { void Visit(Info& info, IR::Inst& inst) { switch (inst.GetOpcode()) { case IR::Opcode::GetAttribute: case IR::Opcode::G...
2,438
C++
.cpp
78
24.75641
68
0.63482
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,692
constant_propagation_pass.cpp
shadps4-emu_shadPS4/src/shader_recompiler/ir/passes/constant_propagation_pass.cpp
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <bit> #include <optional> #include <type_traits> #include "common/func_traits.h" #include "shader_recompiler/ir/basic_block.h" #include "shader_recompiler/ir/ir_emitter.h" namespace Shader::Optimizati...
16,524
C++
.cpp
407
32.933661
99
0.609792
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,693
lower_shared_mem_to_registers.cpp
shadps4-emu_shadPS4/src/shader_recompiler/ir/passes/lower_shared_mem_to_registers.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <boost/container/small_vector.hpp> #include "shader_recompiler/ir/program.h" namespace Shader::Optimization { void LowerSharedMemToRegisters(IR::Program& program) { boost::container::small_vec...
1,595
C++
.cpp
34
37.088235
95
0.595376
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,694
flatten_extended_userdata_pass.cpp
shadps4-emu_shadPS4/src/shader_recompiler/ir/passes/flatten_extended_userdata_pass.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <unordered_map> #include <boost/container/flat_map.hpp> #include <xbyak/xbyak.h> #include <xbyak/xbyak_util.h> #include "common/config.h" #include "common/io_file.h" #include "common/logging/log.h"...
8,751
C++
.cpp
197
36.649746
98
0.6326
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,695
ring_access_elimination.cpp
shadps4-emu_shadPS4/src/shader_recompiler/ir/passes/ring_access_elimination.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/ir/ir_emitter.h" #include "shader_recompiler/ir/opcodes.h" #include "shader_recompiler/ir/program.h" #include "shader_recompiler/ir/reg.h" #include "shader_recompiler/recompiler.h...
4,459
C++
.cpp
101
30.613861
96
0.520258
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,696
resource_tracking_pass.cpp
shadps4-emu_shadPS4/src/shader_recompiler/ir/passes/resource_tracking_pass.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <algorithm> #include <boost/container/small_vector.hpp> #include "shader_recompiler/info.h" #include "shader_recompiler/ir/basic_block.h" #include "shader_recompiler/ir/breadth_first_search.h" #incl...
32,128
C++
.cpp
725
35.486897
100
0.604667
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,697
ssa_rewrite_pass.cpp
shadps4-emu_shadPS4/src/shader_recompiler/ir/passes/ssa_rewrite_pass.cpp
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later // This file implements the SSA rewriting algorithm proposed in // // Simple and Efficient Construction of Static Single Assignment Form. // Braun M., Buchwald S., Hack S., Leiba R., Mallon C., Zwinka...
15,005
C++
.cpp
382
31.209424
100
0.610989
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,698
dead_code_elimination_pass.cpp
shadps4-emu_shadPS4/src/shader_recompiler/ir/passes/dead_code_elimination_pass.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/ir/program.h" namespace Shader::Optimization { void DeadCodeEliminationPass(IR::Program& program) { // We iterate over the instructions in reverse order. // This is beca...
772
C++
.cpp
19
33.736842
99
0.64486
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,699
identity_removal_pass.cpp
shadps4-emu_shadPS4/src/shader_recompiler/ir/passes/identity_removal_pass.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <vector> #include "shader_recompiler/ir/program.h" namespace Shader::Optimization { void IdentityRemovalPass(IR::BlockList& program) { std::vector<IR::Inst*> to_invalidate; for (IR::Block*...
1,118
C++
.cpp
30
27.866667
66
0.538745
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,700
fetch_shader.cpp
shadps4-emu_shadPS4/src/shader_recompiler/frontend/fetch_shader.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <algorithm> #include <boost/container/static_vector.hpp> #include "common/assert.h" #include "shader_recompiler/frontend/decode.h" #include "shader_recompiler/frontend/fetch_shader.h" namespace Sha...
3,617
C++
.cpp
87
33.91954
97
0.605923
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,701
decode.cpp
shadps4-emu_shadPS4/src/shader_recompiler/frontend/decode.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <algorithm> #include "common/assert.h" #include "shader_recompiler/frontend/decode.h" #include "magic_enum.hpp" namespace Shader::Gcn { namespace bit { template <typename T> T extract(T value, u3...
42,543
C++
.cpp
996
35.850402
98
0.663135
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,702
format.cpp
shadps4-emu_shadPS4/src/shader_recompiler/frontend/format.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "common/assert.h" #include "shader_recompiler/frontend/decode.h" namespace Shader::Gcn { constexpr std::array<InstFormat, 45> InstructionFormatSOP2 = {{ // 0 = S_ADD_U32 {InstClass::Scalar...
160,335
C++
.cpp
3,707
38.006744
100
0.680732
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,703
structured_control_flow.cpp
shadps4-emu_shadPS4/src/shader_recompiler/frontend/structured_control_flow.cpp
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <algorithm> #include <memory> #include <optional> #include <string> #include <unordered_map> #include <utility> #include <vector> #include <boost/intrusive/list.hpp> #include <fmt/format.h> #include "s...
32,976
C++
.cpp
756
33.312169
100
0.584342
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,704
copy_shader.cpp
shadps4-emu_shadPS4/src/shader_recompiler/frontend/copy_shader.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/frontend/copy_shader.h" #include "shader_recompiler/frontend/decode.h" #include "shader_recompiler/ir/attribute.h" namespace Shader { CopyShaderData ParseCopyShader(std::span<co...
2,479
C++
.cpp
65
28.492308
99
0.561564
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,705
instruction.cpp
shadps4-emu_shadPS4/src/shader_recompiler/frontend/instruction.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "common/assert.h" #include "shader_recompiler/frontend/instruction.h" namespace Shader::Gcn { u32 GcnInst::BranchTarget(u32 pc) const { const s32 simm = static_cast<s32>(control.sopp.simm) * 4...
2,094
C++
.cpp
55
33.090909
86
0.646798
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,706
control_flow_graph.cpp
shadps4-emu_shadPS4/src/shader_recompiler/frontend/control_flow_graph.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <algorithm> #include "common/assert.h" #include "shader_recompiler/frontend/control_flow_graph.h" namespace Shader::Gcn { struct Compare { bool operator()(const Block& lhs, u32 rhs) const noex...
12,414
C++
.cpp
293
32.481229
99
0.563027
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,707
scalar_memory.cpp
shadps4-emu_shadPS4/src/shader_recompiler/frontend/translate/scalar_memory.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/frontend/translate/translate.h" namespace Shader::Gcn { static constexpr u32 SQ_SRC_LITERAL = 0xFF; void Translator::EmitScalarMemory(const GcnInst& inst) { switch (inst.op...
2,836
C++
.cpp
74
31.675676
94
0.629993
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,708
vector_alu.cpp
shadps4-emu_shadPS4/src/shader_recompiler/frontend/translate/vector_alu.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/frontend/opcodes.h" #include "shader_recompiler/frontend/translate/translate.h" namespace Shader::Gcn { void Translator::EmitVectorAlu(const GcnInst& inst) { switch (inst.op...
44,670
C++
.cpp
1,109
34.546438
100
0.63874
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,709
vector_memory.cpp
shadps4-emu_shadPS4/src/shader_recompiler/frontend/translate/vector_memory.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/frontend/translate/translate.h" namespace Shader::Gcn { void Translator::EmitVectorMemory(const GcnInst& inst) { switch (inst.opcode) { // MUBUF / MTBUF // ...
25,479
C++
.cpp
578
36.612457
100
0.637433
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,710
export.cpp
shadps4-emu_shadPS4/src/shader_recompiler/frontend/translate/export.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/frontend/translate/translate.h" #include "shader_recompiler/runtime_info.h" namespace Shader::Gcn { void Translator::EmitExport(const GcnInst& inst) { if (ir.block->has_mult...
2,616
C++
.cpp
71
28.577465
79
0.571935
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,711
vector_interpolation.cpp
shadps4-emu_shadPS4/src/shader_recompiler/frontend/translate/vector_interpolation.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/frontend/translate/translate.h" namespace Shader::Gcn { void Translator::EmitVectorInterpolation(const GcnInst& inst) { switch (inst.opcode) { // VINTRP case Opc...
1,165
C++
.cpp
29
35.896552
75
0.717449
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,712
translate.cpp
shadps4-emu_shadPS4/src/shader_recompiler/frontend/translate/translate.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "common/config.h" #include "common/io_file.h" #include "common/path_util.h" #include "shader_recompiler/exception.h" #include "shader_recompiler/frontend/fetch_shader.h" #include "shader_recompiler/...
17,815
C++
.cpp
463
29.982721
105
0.609032
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,713
scalar_flow.cpp
shadps4-emu_shadPS4/src/shader_recompiler/frontend/translate/scalar_flow.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/frontend/opcodes.h" #include "shader_recompiler/frontend/translate/translate.h" namespace Shader::Gcn { void Translator::EmitFlowControl(u32 pc, const GcnInst& inst) { switc...
2,017
C++
.cpp
68
23.676471
84
0.640577
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,714
scalar_alu.cpp
shadps4-emu_shadPS4/src/shader_recompiler/frontend/translate/scalar_alu.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/frontend/translate/translate.h" namespace Shader::Gcn { void Translator::EmitScalarAlu(const GcnInst& inst) { switch (inst.encoding) { case InstEncoding::SOPC: { ...
20,287
C++
.cpp
569
28.608084
90
0.616401
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,715
data_share.cpp
shadps4-emu_shadPS4/src/shader_recompiler/frontend/translate/data_share.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/frontend/translate/translate.h" namespace Shader::Gcn { void Translator::EmitDataShare(const GcnInst& inst) { switch (inst.opcode) { // DS case Opcode::DS_ADD_U3...
8,702
C++
.cpp
198
37.328283
94
0.63481
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,716
emit_spirv_logical.cpp
shadps4-emu_shadPS4/src/shader_recompiler/backend/spirv/emit_spirv_logical.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/backend/spirv/emit_spirv_instructions.h" #include "shader_recompiler/backend/spirv/spirv_emit_context.h" namespace Shader::Backend::SPIRV { Id EmitLogicalOr(EmitContext& ctx, Id...
719
C++
.cpp
18
37.666667
68
0.747839
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,717
emit_spirv_floating_point.cpp
shadps4-emu_shadPS4/src/shader_recompiler/backend/spirv/emit_spirv_floating_point.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/backend/spirv/emit_spirv_instructions.h" #include "shader_recompiler/backend/spirv/spirv_emit_context.h" namespace Shader::Backend::SPIRV { Id Decorate(EmitContext& ctx, IR::Ins...
11,037
C++
.cpp
295
34.633898
75
0.715171
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,718
spirv_emit_context.cpp
shadps4-emu_shadPS4/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "common/assert.h" #include "common/div_ceil.h" #include "shader_recompiler/backend/spirv/spirv_emit_context.h" #include "shader_recompiler/ir/passes/srt.h" #include "video_core/amdgpu/types.h" #inc...
30,023
C++
.cpp
651
37.362519
100
0.617976
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,719
emit_spirv_barriers.cpp
shadps4-emu_shadPS4/src/shader_recompiler/backend/spirv/emit_spirv_barriers.cpp
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/backend/spirv/emit_spirv_instructions.h" #include "shader_recompiler/backend/spirv/spirv_emit_context.h" namespace Shader::Backend::SPIRV { namespace { void MemoryBarrier(EmitContex...
1,505
C++
.cpp
31
42.129032
99
0.723433
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,720
emit_spirv_integer.cpp
shadps4-emu_shadPS4/src/shader_recompiler/backend/spirv/emit_spirv_integer.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/backend/spirv/emit_spirv_instructions.h" #include "shader_recompiler/backend/spirv/spirv_emit_context.h" namespace Shader::Backend::SPIRV { namespace { void SetZeroFlag(EmitConte...
9,800
C++
.cpp
252
35.428571
100
0.687289
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,721
emit_spirv_atomic.cpp
shadps4-emu_shadPS4/src/shader_recompiler/backend/spirv/emit_spirv_atomic.cpp
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/backend/spirv/emit_spirv_instructions.h" #include "shader_recompiler/backend/spirv/spirv_emit_context.h" namespace Shader::Backend::SPIRV { namespace { std::pair<Id, Id> AtomicArgs(...
7,635
C++
.cpp
136
52.25
99
0.729904
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,722
emit_spirv_warp.cpp
shadps4-emu_shadPS4/src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/backend/spirv/emit_spirv_instructions.h" #include "shader_recompiler/backend/spirv/spirv_emit_context.h" namespace Shader::Backend::SPIRV { Id SubgroupScope(EmitContext& ctx) { ...
1,194
C++
.cpp
28
38.785714
92
0.74481
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,723
emit_spirv_convert.cpp
shadps4-emu_shadPS4/src/shader_recompiler/backend/spirv/emit_spirv_convert.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/backend/spirv/emit_spirv_instructions.h" #include "shader_recompiler/backend/spirv/spirv_emit_context.h" namespace Shader::Backend::SPIRV { namespace { Id ExtractU16(EmitContext&...
7,561
C++
.cpp
210
32.566667
96
0.724195
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,724
emit_spirv_bitwise_conversion.cpp
shadps4-emu_shadPS4/src/shader_recompiler/backend/spirv/emit_spirv_bitwise_conversion.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/backend/spirv/emit_spirv_instructions.h" #include "shader_recompiler/backend/spirv/spirv_emit_context.h" namespace Shader::Backend::SPIRV { Id EmitBitCastU16F16(EmitContext& ctx...
1,599
C++
.cpp
45
33.022222
68
0.757477
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,725
emit_spirv_composite.cpp
shadps4-emu_shadPS4/src/shader_recompiler/backend/spirv/emit_spirv_composite.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/backend/spirv/emit_spirv_instructions.h" #include "shader_recompiler/backend/spirv/spirv_emit_context.h" namespace Shader::Backend::SPIRV { Id EmitCompositeConstructU32x2(EmitCo...
5,295
C++
.cpp
114
43.842105
83
0.770712
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,726
emit_spirv.cpp
shadps4-emu_shadPS4/src/shader_recompiler/backend/spirv/emit_spirv.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <span> #include <type_traits> #include <utility> #include <vector> #include "common/assert.h" #include "common/func_traits.h" #include "shader_recompiler/backend/spirv/emit_spirv.h" #include "shader...
16,512
C++
.cpp
401
34.346633
100
0.654119
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,727
emit_spirv_shared_memory.cpp
shadps4-emu_shadPS4/src/shader_recompiler/backend/spirv/emit_spirv_shared_memory.cpp
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/backend/spirv/emit_spirv_instructions.h" #include "shader_recompiler/backend/spirv/spirv_emit_context.h" namespace Shader::Backend::SPIRV { Id EmitLoadSharedU32(EmitContext& ctx, I...
3,207
C++
.cpp
56
52.392857
98
0.711967
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,728
emit_spirv_special.cpp
shadps4-emu_shadPS4/src/shader_recompiler/backend/spirv/emit_spirv_special.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/backend/spirv/emit_spirv_instructions.h" #include "shader_recompiler/backend/spirv/spirv_emit_context.h" #include "shader_recompiler/ir/debug_print.h" namespace Shader::Backend::...
2,382
C++
.cpp
55
39.963636
99
0.742437
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,729
emit_spirv_image.cpp
shadps4-emu_shadPS4/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <boost/container/static_vector.hpp> #include "shader_recompiler/backend/spirv/emit_spirv_instructions.h" #include "shader_recompiler/backend/spirv/spirv_emit_context.h" namespace Shader::Backend::S...
12,548
C++
.cpp
229
45.384279
100
0.651272
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,730
emit_spirv_undefined.cpp
shadps4-emu_shadPS4/src/shader_recompiler/backend/spirv/emit_spirv_undefined.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/backend/spirv/emit_spirv_instructions.h" #include "shader_recompiler/backend/spirv/spirv_emit_context.h" namespace Shader::Backend::SPIRV { Id EmitUndefU1(EmitContext& ctx) { ...
702
C++
.cpp
21
31.095238
68
0.766716
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,731
emit_spirv_select.cpp
shadps4-emu_shadPS4/src/shader_recompiler/backend/spirv/emit_spirv_select.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "shader_recompiler/backend/spirv/emit_spirv_instructions.h" #include "shader_recompiler/backend/spirv/spirv_emit_context.h" namespace Shader::Backend::SPIRV { Id EmitSelectU1(EmitContext& ctx, Id ...
1,439
C++
.cpp
30
45.533333
76
0.746781
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,732
emit_spirv_context_get_set.cpp
shadps4-emu_shadPS4/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "common/assert.h" #include "shader_recompiler/backend/spirv/emit_spirv_instructions.h" #include "shader_recompiler/backend/spirv/spirv_emit_context.h" #include <magic_enum.hpp> namespace Shader::B...
15,109
C++
.cpp
342
36.649123
99
0.64888
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,733
install_dir_select.cpp
shadps4-emu_shadPS4/src/qt_gui/install_dir_select.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <QDialogButtonBox> #include <QDir> #include <QFileDialog> #include <QGroupBox> #include <QLabel> #include <QLineEdit> #include <QListWidget> #include <QMessageBox> #include <QPushButton> #include <Q...
2,372
C++
.cpp
59
35.661017
100
0.720383
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,734
main_window.cpp
shadps4-emu_shadPS4/src/qt_gui/main_window.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <QDockWidget> #include <QKeyEvent> #include <QProgressDialog> #include "about_dialog.h" #include "cheats_patches.h" #ifdef ENABLE_UPDATER #include "check_update.h" #endif #include "common/io_file.h...
43,279
C++
.cpp
980
33.916327
100
0.596299
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,735
game_info.cpp
shadps4-emu_shadPS4/src/qt_gui/game_info.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <QProgressDialog> #include "common/path_util.h" #include "game_info.h" GameInfoClass::GameInfoClass() = default; GameInfoClass::~GameInfoClass() = default; void GameInfoClass::GetGameInfo(QWidget...
1,857
C++
.cpp
40
39.85
96
0.683425
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,736
trophy_viewer.cpp
shadps4-emu_shadPS4/src/qt_gui/trophy_viewer.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "common/path_util.h" #include "trophy_viewer.h" TrophyViewer::TrophyViewer(QString trophyPath, QString gameTrpPath) : QMainWindow() { this->setWindowTitle(tr("Trophy Viewer")); this->setAtt...
6,683
C++
.cpp
142
36.838028
95
0.613581
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,737
main.cpp
shadps4-emu_shadPS4/src/qt_gui/main.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "common/config.h" #include "common/memory_patcher.h" #include "core/file_sys/fs.h" #include "emulator.h" #include "game_install_dialog.h" #include "main_window.h" #ifdef _WIN32 #include <windows.h>...
1,715
C++
.cpp
48
30.395833
82
0.670091
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,738
game_list_frame.cpp
shadps4-emu_shadPS4/src/qt_gui/game_list_frame.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "common/path_util.h" #include "common/string_util.h" #include "game_list_frame.h" GameListFrame::GameListFrame(std::shared_ptr<GameInfoClass> game_info_get, QWidget* parent) : QTableWidget(pare...
11,823
C++
.cpp
252
39.079365
97
0.6554
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,739
settings_dialog.cpp
shadps4-emu_shadPS4/src/qt_gui/settings_dialog.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <QCompleter> #include <QDirIterator> #include <QHoverEvent> #include <common/version.h> #ifdef ENABLE_UPDATER #include "check_update.h" #endif #include "common/logging/backend.h" #include "common/l...
22,851
C++
.cpp
468
38.32906
100
0.618161
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,740
pkg_viewer.cpp
shadps4-emu_shadPS4/src/qt_gui/pkg_viewer.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "pkg_viewer.h" PKGViewer::PKGViewer(std::shared_ptr<GameInfoClass> game_info_get, QWidget* parent, std::function<void(std::filesystem::path, int, int)> InstallDragDropPkg) ...
9,754
C++
.cpp
212
35.811321
95
0.576269
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,741
game_install_dialog.cpp
shadps4-emu_shadPS4/src/qt_gui/game_install_dialog.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <QDialogButtonBox> #include <QDir> #include <QFileDialog> #include <QGroupBox> #include <QHBoxLayout> #include <QLabel> #include <QLineEdit> #include <QMessageBox> #include <QPushButton> #include <Q...
4,325
C++
.cpp
104
36.048077
92
0.705321
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,742
main_window_themes.cpp
shadps4-emu_shadPS4/src/qt_gui/main_window_themes.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "main_window_themes.h" void WindowThemes::SetWindowTheme(Theme theme, QLineEdit* mw_searchbar) { QPalette themePalette; switch (theme) { case Theme::Dark: mw_searchbar->setStyl...
7,897
C++
.cpp
111
58.333333
100
0.611033
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,743
elf_viewer.cpp
shadps4-emu_shadPS4/src/qt_gui/elf_viewer.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "elf_viewer.h" ElfViewer::ElfViewer(QWidget* parent) : QTableWidget(parent) { dir_list_std = Config::getElfViewer(); for (const auto& str : dir_list_std) { dir_list.append(QString::...
3,728
C++
.cpp
89
35.202247
85
0.669694
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,744
cheats_patches.cpp
shadps4-emu_shadPS4/src/qt_gui/cheats_patches.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <QComboBox> #include <QDir> #include <QEvent> #include <QFile> #include <QGroupBox> #include <QHBoxLayout> #include <QHoverEvent> #include <QJsonArray> #include <QJsonDocument> #include <QJsonObject...
56,102
C++
.cpp
1,164
34.080756
100
0.558771
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,745
check_update.cpp
shadps4-emu_shadPS4/src/qt_gui/check_update.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <filesystem> #include <QDateTime> #include <QDir> #include <QFile> #include <QJsonArray> #include <QJsonDocument> #include <QJsonObject> #include <QLabel> #include <QMessageBox> #include <QNetworkAc...
21,387
C++
.cpp
486
33.911523
100
0.562575
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,746
game_grid_frame.cpp
shadps4-emu_shadPS4/src/qt_gui/game_grid_frame.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "common/path_util.h" #include "game_grid_frame.h" GameGridFrame::GameGridFrame(std::shared_ptr<GameInfoClass> game_info_get, QWidget* parent) : QTableWidget(parent), m_game_info(game_info_get) ...
7,428
C++
.cpp
156
38.461538
97
0.641202
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,748
background_music_player.cpp
shadps4-emu_shadPS4/src/qt_gui/background_music_player.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "background_music_player.h" BackgroundMusicPlayer::BackgroundMusicPlayer(QObject* parent) : QObject(parent) { m_mediaPlayer = new QMediaPlayer(this); m_audioOutput = new QAudioOutput(this);...
1,242
C++
.cpp
32
33.03125
95
0.706811
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,749
ntapi.cpp
shadps4-emu_shadPS4/src/common/ntapi.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #ifdef _WIN32 #include "ntapi.h" NtDelayExecution_t NtDelayExecution = nullptr; NtSetInformationFile_t NtSetInformationFile = nullptr; namespace Common::NtApi { void Initialize() { HMODU...
669
C++
.cpp
16
37.3125
90
0.766091
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,750
signal_context.cpp
shadps4-emu_shadPS4/src/common/signal_context.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "common/arch.h" #include "common/assert.h" #include "common/signal_context.h" #ifdef _WIN32 #include <windows.h> #else #include <sys/ucontext.h> #endif namespace Common { void* GetXmmPointer(void...
2,773
C++
.cpp
85
28.776471
100
0.523863
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,751
config.cpp
shadps4-emu_shadPS4/src/common/config.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <fstream> #include <string> #include <common/version.h> #include <fmt/core.h> #include <fmt/xchar.h> // for wstring support #include <toml.hpp> #include "common/logging/formatter.h" #include "common...
20,162
C++
.cpp
607
28.92916
99
0.676174
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,752
error.cpp
shadps4-emu_shadPS4/src/common/error.cpp
// SPDX-FileCopyrightText: 2013 Dolphin Emulator Project // SPDX-FileCopyrightText: 2014 Citra Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <cstddef> #ifdef _WIN32 #include <windows.h> #else #include <cerrno> #include <cstring> #endif #include "common/error.h" namespace Common { std::strin...
1,574
C++
.cpp
50
26.56
100
0.657218
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,753
rdtsc.cpp
shadps4-emu_shadPS4/src/common/rdtsc.cpp
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <thread> #include "common/rdtsc.h" #include "common/uint128.h" #ifdef _WIN64 #include <windows.h> #endif namespace Common { static constexpr size_t SecondToNanoseconds = 1000000000ULL; template <u6...
1,921
C++
.cpp
51
33.803922
93
0.722192
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,754
native_clock.cpp
shadps4-emu_shadPS4/src/common/native_clock.cpp
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "common/native_clock.h" #include "common/rdtsc.h" #include "common/uint128.h" #ifdef _WIN64 #include <pthread_time.h> #else #include <time.h> #endif namespace Common { NativeClock::NativeClock() ...
1,243
C++
.cpp
34
33.823529
81
0.736667
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,755
discord_rpc_handler.cpp
shadps4-emu_shadPS4/src/common/discord_rpc_handler.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <cstring> #include <ctime> #include "src/common/discord_rpc_handler.h" namespace DiscordRPCHandler { void RPC::init() { DiscordEventHandlers handlers{}; Discord_Initialize("11399391404949...
1,536
C++
.cpp
45
29.933333
95
0.710615
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,756
path_util.cpp
shadps4-emu_shadPS4/src/common/path_util.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <unordered_map> #include "common/logging/log.h" #include "common/path_util.h" #include "common/scope_exit.h" #ifdef __APPLE__ #include <CoreFoundation/CFBundle.h> #include <dlfcn.h> #include <sys/p...
6,798
C++
.cpp
167
34.377246
98
0.67116
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,757
io_file.cpp
shadps4-emu_shadPS4/src/common/io_file.cpp
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <vector> #include "common/alignment.h" #include "common/assert.h" #include "common/error.h" #include "common/io_file.h" #include "common/logging/log.h" #include "common/path_util.h" #ifdef _WIN32 #in...
11,121
C++
.cpp
349
25.819484
100
0.627257
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,758
string_util.cpp
shadps4-emu_shadPS4/src/common/string_util.cpp
// SPDX-FileCopyrightText: 2013 Dolphin Emulator Project // SPDX-FileCopyrightText: 2014 Citra Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <algorithm> #include <sstream> #include <string> #include "common/string_util.h" #include "common/types.h" #ifdef _WIN32 #include <windows.h> #endif na...
2,149
C++
.cpp
63
28.015873
100
0.627479
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,759
memory_patcher.cpp
shadps4-emu_shadPS4/src/common/memory_patcher.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <algorithm> #include <codecvt> #include <sstream> #include <string> #include <pugixml.hpp> #ifdef ENABLE_QT_GUI #include <QFile> #include <QJsonArray> #include <QJsonDocument> #include <QJsonObject>...
16,689
C++
.cpp
364
32.074176
100
0.529426
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,760
number_utils.cpp
shadps4-emu_shadPS4/src/common/number_utils.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <array> #include <half.hpp> #include "common/number_utils.h" #include "video_core/amdgpu/pixel_format.h" #include "video_core/amdgpu/types.h" #define UF11_EXPONENT_SHIFT 6 #define UF10_EXPONENT_SH...
3,480
C++
.cpp
129
21.984496
82
0.596084
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,761
thread.cpp
shadps4-emu_shadPS4/src/common/thread.cpp
// SPDX-FileCopyrightText: 2013 Dolphin Emulator Project // SPDX-FileCopyrightText: 2014 Citra Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <string> #include <thread> #include "common/error.h" #include "common/logging/log.h" #include "common/thread.h" #include "ntapi.h" #ifdef __APPLE__ #inc...
6,127
C++
.cpp
168
32.285714
99
0.695916
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,762
decoder.cpp
shadps4-emu_shadPS4/src/common/decoder.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <fmt/format.h> #include "common/decoder.h" namespace Common { DecoderImpl::DecoderImpl() { ZydisDecoderInit(&m_decoder, ZYDIS_MACHINE_MODE_LONG_64, ZYDIS_STACK_WIDTH_64); ZydisFormatterIni...
1,797
C++
.cpp
39
38.923077
96
0.696398
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,763
assert.cpp
shadps4-emu_shadPS4/src/common/assert.cpp
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "common/arch.h" #include "common/assert.h" #include "common/logging/backend.h" #if defined(ARCH_X86_64) #define Crash() __asm__ __volatile__("int $3") #elif defined(ARCH_ARM64) #define Crash() __asm__...
800
C++
.cpp
27
27.111111
68
0.696615
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,764
backend.cpp
shadps4-emu_shadPS4/src/common/logging/backend.cpp
// SPDX-FileCopyrightText: Copyright 2014 Citra Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <chrono> #include <filesystem> #include <thread> #include <fmt/format.h> #ifdef _WIN32 #include <windows.h> // For OutputDebugStringW #endif #include "common/bounded_threadsafe_queue.h" #include "c...
8,671
C++
.cpp
254
26.566929
100
0.612367
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,765
text_formatter.cpp
shadps4-emu_shadPS4/src/common/logging/text_formatter.cpp
// SPDX-FileCopyrightText: Copyright 2014 Citra Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <array> #include <cstdio> #ifdef _WIN32 #include <windows.h> #endif #include "common/assert.h" #include "common/logging/filter.h" #include "common/logging/log.h" #include "common/logging/log_entry.h...
3,029
C++
.cpp
93
27.236559
88
0.656507
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
15,766
filter.cpp
shadps4-emu_shadPS4/src/common/logging/filter.cpp
// SPDX-FileCopyrightText: Copyright 2014 Citra Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <algorithm> #include "common/assert.h" #include "common/logging/filter.h" namespace Common::Log { namespace { template <typename It> Level GetLevelByName(const It begin, const It end) { for (u8 ...
11,181
C++
.cpp
191
53.298429
100
0.299207
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,767
sdl_audio.cpp
shadps4-emu_shadPS4/src/audio_core/sdl_audio.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include "sdl_audio.h" #include "common/assert.h" #include "core/libraries/error_codes.h" #include <SDL3/SDL_audio.h> #include <SDL3/SDL_init.h> #include <SDL3/SDL_timer.h> #include <mutex> // std::unique...
5,749
C++
.cpp
143
28.727273
100
0.565467
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,768
imgui_core.cpp
shadps4-emu_shadPS4/src/imgui/renderer/imgui_core.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <SDL3/SDL_events.h> #include <imgui.h> #include "common/config.h" #include "common/path_util.h" #include "core/devtools/layer.h" #include "imgui/imgui_layer.h" #include "imgui_core.h" #include "img...
7,958
C++
.cpp
205
32.517073
97
0.662432
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,769
texture_manager.cpp
shadps4-emu_shadPS4/src/imgui/renderer/texture_manager.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include <deque> #include <utility> #include <externals/stb_image.h> #include "common/assert.h" #include "common/config.h" #include "common/io_file.h" #include "common/polyfill_thread.h" #include "imgui_im...
6,715
C++
.cpp
212
24.915094
100
0.608319
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,770
imgui_impl_sdl3.cpp
shadps4-emu_shadPS4/src/imgui/renderer/imgui_impl_sdl3.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later // Based on imgui_impl_sdl3.cpp from Dear ImGui repository #include <imgui.h> #include "common/config.h" #include "imgui_impl_sdl3.h" // SDL #include <SDL3/SDL.h> #if defined(__APPLE__) #include <TargetCon...
31,689
C++
.cpp
786
32.701018
104
0.645388
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,771
imgui_impl_vulkan.cpp
shadps4-emu_shadPS4/src/imgui/renderer/imgui_impl_vulkan.cpp
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later // Based on imgui_impl_vulkan.cpp from Dear ImGui repository #include <cstdio> #include <mutex> #include <imgui.h> #include "imgui_impl_vulkan.h" #ifndef IM_MAX #define IM_MAX(A, B) (((A) >= (B)) ? (A) :...
51,756
C++
.cpp
1,138
36.175747
100
0.634203
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,773
emulator.h
shadps4-emu_shadPS4/src/emulator.h
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #pragma once #include <filesystem> #include <thread> #include "common/singleton.h" #include "core/linker.h" #include "input/controller.h" #include "sdl_window.h" namespace Core { using HLEInitDef = void ...
929
C++
.h
30
28
87
0.743243
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,774
sdl_window.h
shadps4-emu_shadPS4/src/sdl_window.h
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #pragma once #include <string> #include "common/types.h" struct SDL_Window; struct SDL_Gamepad; union SDL_Event; namespace Input { class GameController; } namespace Frontend { enum class WindowSystemTyp...
2,008
C++
.h
68
24.926471
83
0.69708
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
15,775
controller.h
shadps4-emu_shadPS4/src/input/controller.h
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #pragma once #include <mutex> #include "common/types.h" struct SDL_Gamepad; namespace Input { enum class Axis { LeftX = 0, LeftY = 1, RightX = 2, RightY = 3, TriggerLeft = 4, Trig...
1,870
C++
.h
62
26.193548
90
0.668527
shadps4-emu/shadPS4
9,253
501
185
GPL-2.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false