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,876 | ajm_error.h | shadps4-emu_shadPS4/src/core/libraries/ajm/ajm_error.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
constexpr int ORBIS_AJM_ERROR_UNKNOWN = 0x80930001;
constexpr int ORBIS_AJM_ERROR_INVALID_CONTEXT = 0x80930002;
constexpr int ORBIS_AJM_ERROR_INVALID_INSTANCE = 0x80930003;
constexpr int ORBIS_... | 1,488 | C++ | .h | 26 | 56.153846 | 68 | 0.823973 | 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,877 | ajm_at9.h | shadps4-emu_shadPS4/src/core/libraries/ajm/ajm_at9.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/types.h"
#include "core/libraries/ajm/ajm_instance.h"
#include "libatrac9.h"
#include <span>
namespace Libraries::Ajm {
constexpr s32 ORBIS_AJM_DEC_AT9_MAX_CHANNELS = 8;
e... | 1,992 | C++ | .h | 49 | 35.326531 | 97 | 0.709326 | 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,878 | screenshot.h | shadps4-emu_shadPS4/src/core/libraries/screenshot/screenshot.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/types.h"
namespace Core::Loader {
class SymbolsResolver;
}
namespace Libraries::ScreenShot {
int PS4_SYSV_ABI _Z5dummyv();
int PS4_SYSV_ABI sceScreenShotCapture();
int PS4_S... | 989 | C++ | .h | 24 | 40 | 66 | 0.834375 | 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,879 | fiber.h | shadps4-emu_shadPS4/src/core/libraries/fiber/fiber.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/assert.h"
#include "common/types.h"
namespace Core::Loader {
class SymbolsResolver;
}
namespace Libraries::Fiber {
#define ORBIS_FIBER_MAX_NAME_LENGTH (31)
ty... | 2,184 | C++ | .h | 57 | 32.631579 | 93 | 0.728805 | 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,880 | symbols_resolver.h | shadps4-emu_shadPS4/src/core/loader/symbols_resolver.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <filesystem>
#include <span>
#include <string>
#include <vector>
#include "common/types.h"
namespace Core::Loader {
enum class SymbolType {
Unknown,
Function,
Object,
... | 1,700 | C++ | .h | 63 | 21.809524 | 66 | 0.674476 | 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,881 | elf.h | shadps4-emu_shadPS4/src/core/loader/elf.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <span>
#include <string>
#include <vector>
#include "common/io_file.h"
#include "common/types.h"
struct self_header {
static constexpr u32 signature = 0x1D3D154Fu;
u32 magic... | 17,112 | C++ | .h | 467 | 32.494647 | 84 | 0.622627 | 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,882 | dwarf.h | shadps4-emu_shadPS4/src/core/loader/dwarf.h | // SPDX-FileCopyrightText: Copyright (C) 2001-2024 Free Software Foundation, Inc.
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/types.h"
namespace Dwarf {
enum {
DW_EH_PE_ptr = 0x00,
DW_EH_PE_uleb128 = 0x01,
DW_EH_PE_udata2 = 0x02,
DW_EH_PE_udata4 = 0x03,
DW_EH_PE_ud... | 974 | C++ | .h | 34 | 24.852941 | 84 | 0.670954 | 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,883 | aerolib.h | shadps4-emu_shadPS4/src/core/aerolib/aerolib.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <cstdint>
namespace Core::AeroLib {
struct NidEntry {
const char* nid;
const char* name;
};
const NidEntry* FindByNid(const char* nid);
} // namespace Core::AeroLib
| 313 | C++ | .h | 11 | 26.181818 | 66 | 0.763514 | 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,884 | stubs.h | shadps4-emu_shadPS4/src/core/aerolib/stubs.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/types.h"
namespace Core::AeroLib {
u64 UnresolvedStub();
u64 GetStub(const char* nid);
} // namespace Core::AeroLib
| 264 | C++ | .h | 8 | 31.25 | 66 | 0.788 | 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,885 | crypto.h | shadps4-emu_shadPS4/src/core/crypto/crypto.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <span>
#include <cryptopp/aes.h>
#include <cryptopp/filters.h>
#include <cryptopp/modes.h>
#include <cryptopp/oaep.h>
#include <cryptopp/osrng.h>
#include <cryptopp/rsa.h>
#include <cr... | 2,626 | C++ | .h | 55 | 37.454545 | 96 | 0.596334 | 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,887 | fs.h | shadps4-emu_shadPS4/src/core/file_sys/fs.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <atomic>
#include <mutex>
#include <string>
#include <vector>
#include <tsl/robin_map.h>
#include "common/io_file.h"
namespace Core::FileSys {
class MntPoints {
#ifdef _WIN64
sta... | 2,219 | C++ | .h | 69 | 27.333333 | 97 | 0.671194 | 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,888 | trp.h | shadps4-emu_shadPS4/src/core/file_format/trp.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <vector>
#include "common/endian.h"
#include "common/io_file.h"
#include "common/types.h"
#include "core/crypto/crypto.h"
struct TrpHeader {
u32_be magic; // (0xDCA24D00)
u32_... | 1,241 | C++ | .h | 40 | 27.5 | 85 | 0.658027 | 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,889 | playgo_chunk.h | shadps4-emu_shadPS4/src/core/file_format/playgo_chunk.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <filesystem>
#include <mutex>
#include <vector>
#include "common/io_file.h"
#include "core/libraries/playgo/playgo_types.h"
constexpr u32 PLAYGO_MAGIC = 0x6F676C70;
struct chunk_t {
... | 3,192 | C++ | .h | 111 | 24.603604 | 100 | 0.667429 | 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,890 | splash.h | shadps4-emu_shadPS4/src/core/file_format/splash.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <filesystem>
#include <string>
#include <vector>
#include "common/types.h"
class Splash {
public:
struct ImageInfo {
u32 width;
u32 height;
u32 num_channel... | 853 | C++ | .h | 33 | 20.69697 | 80 | 0.642417 | 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,891 | psf.h | shadps4-emu_shadPS4/src/core/file_format/psf.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <filesystem>
#include <span>
#include <string>
#include <string_view>
#include <unordered_map>
#include <vector>
#include "common/endian.h"
constexpr u32 PSF_MAGIC = 0x00505346;
const... | 2,816 | C++ | .h | 75 | 33.306667 | 98 | 0.692138 | 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,892 | pkg_type.h | shadps4-emu_shadPS4/src/core/file_format/pkg_type.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <string_view>
#include "common/types.h"
/// Retrieves the PKG entry name from its type identifier.
std::string_view GetEntryNameByType(u32 type);
| 283 | C++ | .h | 7 | 39 | 66 | 0.798535 | 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,893 | pfs.h | shadps4-emu_shadPS4/src/core/file_format/pfs.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <cstddef>
#include <string>
#include "common/types.h"
#define PFS_FILE 2
#define PFS_DIR 3
#define PFS_CURRENT_DIR 4
#define PFS_PARENT_DIR 5
enum PfsMode : unsigned short {
Non... | 1,998 | C++ | .h | 111 | 13.828829 | 66 | 0.616533 | 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,894 | pkg.h | shadps4-emu_shadPS4/src/core/file_format/pkg.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <array>
#include <filesystem>
#include <string>
#include <unordered_map>
#include <vector>
#include "common/endian.h"
#include "core/crypto/crypto.h"
#include "pfs.h"
#include "trp.h"
... | 5,239 | C++ | .h | 148 | 30.101351 | 99 | 0.657058 | 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,895 | layer.h | shadps4-emu_shadPS4/src/core/devtools/layer.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "imgui/imgui_layer.h"
namespace Core::Devtools {
class Layer final : public ImGui::Layer {
static void DrawMenuBar();
static void DrawAdvanced();
static void DrawSimpl... | 428 | C++ | .h | 14 | 27.428571 | 66 | 0.75 | 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,896 | options.h | shadps4-emu_shadPS4/src/core/devtools/options.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <string>
struct ImGuiTextBuffer;
namespace Core::Devtools {
struct TOptions {
std::string disassembly_cli{};
bool frame_dump_render_on_collapse{false};
};
extern TOptions... | 455 | C++ | .h | 14 | 30.357143 | 67 | 0.796767 | 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,897 | frame_dump.h | shadps4-emu_shadPS4/src/core/devtools/widget/frame_dump.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <memory>
#include <vector>
#include "cmd_list.h"
#include "core/debug_state.h"
namespace Core::Devtools::Widget {
class CmdListViewer;
class FrameDumpViewer {
friend class Cm... | 825 | C++ | .h | 26 | 28.230769 | 74 | 0.744275 | 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,899 | reg_popup.h | shadps4-emu_shadPS4/src/core/devtools/widget/reg_popup.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <variant>
#include <imgui.h>
#include "common/types.h"
#include "video_core/renderer_vulkan/liverpool_to_vk.h"
namespace Core::Devtools::Widget {
class RegPopup {
int id;
... | 1,212 | C++ | .h | 29 | 36.965517 | 100 | 0.733276 | 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,901 | frame_graph.h | shadps4-emu_shadPS4/src/core/devtools/widget/frame_graph.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/types.h"
namespace Core::Devtools::Widget {
class FrameGraph {
static constexpr u32 FRAME_BUFFER_SIZE = 1024;
struct FrameInfo {
u32 num;
float delt... | 601 | C++ | .h | 20 | 25.85 | 68 | 0.691099 | 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,902 | reg_view.h | shadps4-emu_shadPS4/src/core/devtools/widget/reg_view.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "core/debug_state.h"
#include "imgui_memory_editor.h"
#include "reg_popup.h"
#include "text_editor.h"
namespace Core::Devtools::Widget {
struct ShaderCache {
MemoryEditor hex_vi... | 1,206 | C++ | .h | 40 | 26.15 | 92 | 0.715652 | 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,903 | common.h | shadps4-emu_shadPS4/src/core/devtools/widget/common.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <string>
#include <type_traits>
#include <variant>
#include <magic_enum.hpp>
#include "common/bit_field.h"
#include "common/types.h"
#include "video_core/amdgpu/pm4_opcodes.h"
nam... | 2,771 | C++ | .h | 93 | 25.55914 | 98 | 0.671799 | 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,904 | cmd_list.h | shadps4-emu_shadPS4/src/core/devtools/widget/cmd_list.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
// Credits to https://github.com/psucien/tlg-emu-tools/
#pragma once
#include <memory>
#include <vector>
#include <imgui.h>
#include "common.h"
#include "common/types.h"
#include "imgui_memory_editor.h"... | 2,373 | C++ | .h | 56 | 38.892857 | 99 | 0.748367 | 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,905 | renderdoc.h | shadps4-emu_shadPS4/src/video_core/renderdoc.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <string>
namespace VideoCore {
/// Loads renderdoc dynamic library module.
void LoadRenderDoc();
/// Begins a capture if a renderdoc instance is attached.
void StartCapture();
/// ... | 574 | C++ | .h | 16 | 34.3125 | 80 | 0.790528 | 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,906 | multi_level_page_table.h | shadps4-emu_shadPS4/src/video_core/multi_level_page_table.h | // SPDX-FileCopyrightText: 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <type_traits>
#include <utility>
#include <vector>
#include "common/object_pool.h"
#include "common/types.h"
namespace VideoCore {
template <class Traits>
class MultiLevelPageTable final {
... | 2,126 | C++ | .h | 51 | 35.941176 | 88 | 0.679282 | 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,907 | page_manager.h | shadps4-emu_shadPS4/src/video_core/page_manager.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <memory>
#include <mutex>
#include <boost/icl/interval_map.hpp>
#include "common/types.h"
namespace Vulkan {
class Rasterizer;
}
namespace VideoCore {
class PageManager {
public:
... | 956 | C++ | .h | 29 | 29.827586 | 86 | 0.750273 | 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,908 | vk_descriptor_update_queue.h | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_descriptor_update_queue.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <memory>
#include "common/types.h"
#include "video_core/renderer_vulkan/vk_common.h"
namespace Vulkan {
class Instance;
struct DescriptorInfoUnion {
DescriptorInfoUnion() {}
union {
... | 1,653 | C++ | .h | 37 | 37.972973 | 98 | 0.707241 | 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,909 | renderer_vulkan.h | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/renderer_vulkan.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <condition_variable>
#include "video_core/amdgpu/liverpool.h"
#include "video_core/renderer_vulkan/vk_instance.h"
#include "video_core/renderer_vulkan/vk_scheduler.h"
#include "video_... | 3,230 | C++ | .h | 90 | 30.7 | 88 | 0.710349 | 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,910 | vk_rasterizer.h | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_rasterizer.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "video_core/buffer_cache/buffer_cache.h"
#include "video_core/page_manager.h"
#include "video_core/renderer_vulkan/vk_pipeline_cache.h"
#include "video_core/texture_cache/texture_cache... | 2,082 | C++ | .h | 58 | 31.689655 | 82 | 0.747258 | 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,911 | vk_scheduler.h | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_scheduler.h | // SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <condition_variable>
#include <boost/container/static_vector.hpp>
#include "common/types.h"
#include "common/unique_function.h"
#include "video_core/renderer_vulkan/vk_master_semaphore.h"... | 3,759 | C++ | .h | 102 | 31.862745 | 84 | 0.702479 | 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,912 | vk_compute_pipeline.h | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_compute_pipeline.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "video_core/renderer_vulkan/vk_common.h"
#include "video_core/renderer_vulkan/vk_pipeline_common.h"
namespace VideoCore {
class BufferCache;
class TextureCache;
} // namespace VideoCo... | 965 | C++ | .h | 27 | 31.185185 | 96 | 0.741658 | 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,913 | vk_master_semaphore.h | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_master_semaphore.h | // SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <atomic>
#include <condition_variable>
#include <thread>
#include <queue>
#include "common/types.h"
#include "video_core/renderer_vulkan/vk_common.h"
namespace Vulkan {
class Instance;
... | 1,401 | C++ | .h | 42 | 29.166667 | 68 | 0.694424 | 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,914 | vk_resource_pool.h | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_resource_pool.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <deque>
#include <vector>
#include <boost/container/static_vector.hpp>
#include <tsl/robin_map.h>
#include "common/types.h"
#include "video_core/renderer_vulkan/vk_common.h"
namespac... | 2,791 | C++ | .h | 70 | 35.657143 | 99 | 0.735458 | 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,915 | liverpool_to_vk.h | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/liverpool_to_vk.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <span>
#include "common/assert.h"
#include "video_core/amdgpu/liverpool.h"
#include "video_core/amdgpu/pixel_format.h"
#include "video_core/amdgpu/resource.h"
#include "video_core/rend... | 2,592 | C++ | .h | 55 | 43.418182 | 99 | 0.778884 | 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,916 | vk_graphics_pipeline.h | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_graphics_pipeline.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <xxhash.h>
#include "common/types.h"
#include "video_core/renderer_vulkan/liverpool_to_vk.h"
#include "video_core/renderer_vulkan/vk_common.h"
#include "video_core/renderer_vulkan/vk_pipeline_common... | 3,886 | C++ | .h | 93 | 35.956989 | 95 | 0.713415 | 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,917 | vk_instance.h | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_instance.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <span>
#include <unordered_map>
#include "video_core/renderer_vulkan/vk_platform.h"
#define TRACY_VK_USE_SYMBOL_TABLE
#include <tracy/TracyVulkan.hpp>
namespace Frontend {
class Win... | 10,264 | C++ | .h | 262 | 33.183206 | 97 | 0.717649 | 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,918 | vk_platform.h | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_platform.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <memory>
#include <variant>
#include <fmt/format.h>
#include "common/logging/log.h"
#include "common/types.h"
#include "video_core/renderer_vulkan/vk_common.h"
namespace Frontend {
e... | 1,835 | C++ | .h | 40 | 41.725 | 100 | 0.74523 | 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,919 | vk_common.h | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_common.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#if defined(__APPLE__) && !USE_SYSTEM_VULKAN_LOADER
#define VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL 0
#endif
// Include vulkan-hpp header
#define VK_ENABLE_BETA_EXTENSIONS
#define VK_NO_PROTOTYP... | 853 | C++ | .h | 22 | 37.545455 | 84 | 0.818402 | 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,920 | vk_shader_util.h | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_shader_util.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <span>
#include "common/types.h"
#include "video_core/renderer_vulkan/vk_common.h"
namespace Vulkan {
/**
* @brief Creates a vulkan shader module from GLSL by converting it to SPIR... | 848 | C++ | .h | 21 | 38.619048 | 98 | 0.767073 | 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,921 | vk_swapchain.h | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_swapchain.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <mutex>
#include <vector>
#include "common/types.h"
#include "video_core/renderer_vulkan/vk_common.h"
namespace Frontend {
class WindowSDL;
}
namespace Vulkan {
class Instance;
clas... | 2,767 | C++ | .h | 88 | 26.488636 | 84 | 0.698982 | 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,922 | vk_pipeline_cache.h | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_pipeline_cache.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <tsl/robin_map.h>
#include "shader_recompiler/profile.h"
#include "shader_recompiler/recompiler.h"
#include "shader_recompiler/specialization.h"
#include "video_core/renderer_vulkan/vk... | 2,898 | C++ | .h | 69 | 36.492754 | 95 | 0.725009 | 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,923 | vk_pipeline_common.h | shadps4-emu_shadPS4/src/video_core/renderer_vulkan/vk_pipeline_common.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "shader_recompiler/backend/bindings.h"
#include "shader_recompiler/info.h"
#include "video_core/renderer_vulkan/vk_common.h"
namespace VideoCore {
class BufferCache;
class TextureCach... | 1,967 | C++ | .h | 45 | 38.2 | 98 | 0.737035 | 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,924 | tile_manager.h | shadps4-emu_shadPS4/src/video_core/texture_cache/tile_manager.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/types.h"
#include "video_core/buffer_cache/buffer.h"
#include "video_core/texture_cache/image.h"
namespace VideoCore {
class TextureCache;
/// Converts tiled texture data to... | 1,511 | C++ | .h | 42 | 32.690476 | 92 | 0.759807 | 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,925 | image_view.h | shadps4-emu_shadPS4/src/video_core/texture_cache/image_view.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "shader_recompiler/info.h"
#include "video_core/amdgpu/liverpool.h"
#include "video_core/amdgpu/resource.h"
#include "video_core/renderer_vulkan/vk_common.h"
#include "video_core/textu... | 1,656 | C++ | .h | 42 | 35.428571 | 97 | 0.739375 | 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,926 | texture_cache.h | shadps4-emu_shadPS4/src/video_core/texture_cache/texture_cache.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <boost/container/small_vector.hpp>
#include <tsl/robin_map.h>
#include "common/slot_vector.h"
#include "video_core/amdgpu/resource.h"
#include "video_core/multi_level_page_table.h"
#i... | 8,202 | C++ | .h | 194 | 33.438144 | 97 | 0.629472 | 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,927 | image_info.h | shadps4-emu_shadPS4/src/video_core/texture_cache/image_info.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/types.h"
#include "core/libraries/videoout/buffer.h"
#include "shader_recompiler/info.h"
#include "video_core/amdgpu/liverpool.h"
#include "video_core/texture_cache/types.h"
#... | 2,696 | C++ | .h | 72 | 31.416667 | 98 | 0.667433 | 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,928 | host_compatibility.h | shadps4-emu_shadPS4/src/video_core/texture_cache/host_compatibility.h | // SPDX-License-Identifier: GPL-2.0-or-later
// Copyright © 2023 Skyline Team and Contributors (https://github.com/skyline-emu/)
// Copyright © 2015-2023 The Khronos Group Inc.
// Copyright © 2015-2023 Valve Corporation
// Copyright © 2015-2023 LunarG, Inc.
#pragma once
#include <unordered_map>
#include "video_core/r... | 21,975 | C++ | .h | 387 | 52.043928 | 150 | 0.743176 | 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,929 | sampler.h | shadps4-emu_shadPS4/src/video_core/texture_cache/sampler.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "video_core/amdgpu/resource.h"
#include "video_core/renderer_vulkan/vk_common.h"
namespace Vulkan {
class Instance;
}
namespace VideoCore {
class Sampler {
public:
explicit Samp... | 717 | C++ | .h | 24 | 26.625 | 87 | 0.733529 | 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,930 | image.h | shadps4-emu_shadPS4/src/video_core/texture_cache/image.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/enum.h"
#include "common/types.h"
#include "video_core/renderer_vulkan/vk_common.h"
#include "video_core/texture_cache/image_info.h"
#include "video_core/texture_cache/image_vi... | 4,654 | C++ | .h | 105 | 39.12381 | 98 | 0.69326 | 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,931 | types.h | shadps4-emu_shadPS4/src/video_core/texture_cache/types.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/slot_vector.h"
#include "common/types.h"
namespace VideoCore {
using ImageId = Common::SlotId;
using ImageViewId = Common::SlotId;
struct Offset2D {
s32 x;
s32 y;
};... | 1,801 | C++ | .h | 76 | 20.092105 | 86 | 0.704052 | 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,932 | memory_tracker_base.h | shadps4-emu_shadPS4/src/video_core/buffer_cache/memory_tracker_base.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <algorithm>
#include <deque>
#include <type_traits>
#include <vector>
#include "common/types.h"
#include "video_core/buffer_cache/word_manager.h"
namespace VideoCore {
... | 7,984 | C++ | .h | 158 | 36.43038 | 94 | 0.561088 | 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,933 | word_manager.h | shadps4-emu_shadPS4/src/video_core/buffer_cache/word_manager.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <algorithm>
#include <span>
#include <utility>
#include "common/div_ceil.h"
#include "common/types.h"
#include "video_core/page_manager.h"
namespace VideoCore {
constex... | 14,945 | C++ | .h | 357 | 31.666667 | 101 | 0.564249 | 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,934 | buffer.h | shadps4-emu_shadPS4/src/video_core/buffer_cache/buffer.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <cstddef>
#include <optional>
#include <utility>
#include <vector>
#include "common/types.h"
#include "video_core/amdgpu/resource.h"
#include "video_core/renderer_vulkan/vk_... | 6,836 | C++ | .h | 164 | 33.689024 | 95 | 0.654534 | 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,935 | range_set.h | shadps4-emu_shadPS4/src/video_core/buffer_cache/range_set.h | // SPDX-FileCopyrightText: 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <boost/icl/interval_map.hpp>
#include <boost/pool/pool.hpp>
#include <boost/pool/pool_alloc.hpp>
#include <boost/pool/poolfwd.hpp>
#include "common/types.h"
namespace VideoCore {
template <cla... | 5,283 | C++ | .h | 136 | 29.683824 | 95 | 0.59239 | 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,936 | buffer_cache.h | shadps4-emu_shadPS4/src/video_core/buffer_cache/buffer_cache.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <mutex>
#include <boost/container/small_vector.hpp>
#include <boost/icl/interval_map.hpp>
#include <tsl/robin_map.h>
#include "common/div_ceil.h"
#include "common/slot_vector... | 5,547 | C++ | .h | 123 | 37.146341 | 98 | 0.673466 | 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,937 | liverpool.h | shadps4-emu_shadPS4/src/video_core/amdgpu/liverpool.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <array>
#include <condition_variable>
#include <coroutine>
#include <exception>
#include <mutex>
#include <span>
#include <thread>
#include <vector>
#include <queue>
#include "common/... | 45,153 | C++ | .h | 1,248 | 26.78125 | 100 | 0.574818 | 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,938 | pixel_format.h | shadps4-emu_shadPS4/src/video_core/amdgpu/pixel_format.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <string_view>
#include <fmt/format.h>
#include "common/types.h"
#include "video_core/amdgpu/types.h"
namespace AmdGpu {
[[nodiscard]] constexpr bool IsInteger(NumberFormat nfmt) {
... | 1,298 | C++ | .h | 36 | 32.916667 | 84 | 0.723863 | 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,939 | types.h | shadps4-emu_shadPS4/src/video_core/amdgpu/types.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/types.h"
namespace AmdGpu {
enum class FpRoundMode : u32 {
NearestEven = 0,
PlusInf = 1,
MinInf = 2,
ToZero = 3,
};
enum class FpDenormMode : u32 {
InOut... | 2,529 | C++ | .h | 110 | 18.627273 | 99 | 0.619344 | 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,940 | pm4_opcodes.h | shadps4-emu_shadPS4/src/video_core/amdgpu/pm4_opcodes.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/types.h"
namespace AmdGpu {
enum class PM4ItOpcode : u32 {
Nop = 0x10,
SetBase = 0x11,
ClearState = 0x12,
IndexBufferSize = 0x13,
DispatchDirect = 0x15,
... | 1,835 | C++ | .h | 71 | 21.225352 | 66 | 0.686754 | 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,941 | resource.h | shadps4-emu_shadPS4/src/video_core/amdgpu/resource.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/alignment.h"
#include "common/assert.h"
#include "common/bit_field.h"
#include "common/types.h"
#include "video_core/amdgpu/pixel_format.h"
namespace AmdGpu {
enum class Comp... | 10,940 | C++ | .h | 383 | 22.109661 | 97 | 0.589927 | 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,942 | pm4_cmds.h | shadps4-emu_shadPS4/src/video_core/amdgpu/pm4_cmds.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <cstring>
#include "common/bit_field.h"
#include "common/rdtsc.h"
#include "common/types.h"
#include "core/platform.h"
#include "video_core/amdgpu/pm4_opcodes.h"
namespace AmdGpu {
/... | 25,123 | C++ | .h | 737 | 27.02578 | 100 | 0.602634 | 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,943 | runtime_info.h | shadps4-emu_shadPS4/src/shader_recompiler/runtime_info.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <algorithm>
#include <span>
#include <boost/container/static_vector.hpp>
#include "common/types.h"
#include "video_core/amdgpu/types.h"
namespace Shader {
enum class Stage : u32 {
... | 4,787 | C++ | .h | 156 | 25.064103 | 100 | 0.672526 | 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,944 | recompiler.h | shadps4-emu_shadPS4/src/shader_recompiler/recompiler.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/object_pool.h"
#include "shader_recompiler/ir/basic_block.h"
#include "shader_recompiler/ir/program.h"
namespace Shader {
struct Profile;
struct RuntimeInfo;
struct Pools {
... | 915 | C++ | .h | 23 | 34.565217 | 100 | 0.714286 | 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,945 | info.h | shadps4-emu_shadPS4/src/shader_recompiler/info.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <algorithm>
#include <span>
#include <vector>
#include <boost/container/small_vector.hpp>
#include <boost/container/static_vector.hpp>
#include "common/assert.h"
#include "common/types.... | 9,317 | C++ | .h | 257 | 30.315175 | 92 | 0.664669 | 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,946 | profile.h | shadps4-emu_shadPS4/src/shader_recompiler/profile.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/types.h"
namespace Shader {
struct Profile {
u32 supported_spirv{0x00010000};
u32 subgroup_size{};
bool unified_descriptor_binding{};
bool support_descriptor_... | 822 | C++ | .h | 25 | 28.96 | 66 | 0.727273 | 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,947 | params.h | shadps4-emu_shadPS4/src/shader_recompiler/params.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <span>
#include "common/types.h"
namespace Shader {
/**
* Compilation parameters used to identify and locate a guest shader program.
*/
struct ShaderParams {
static constexpr u... | 568 | C++ | .h | 19 | 26.736842 | 77 | 0.736162 | 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,948 | specialization.h | shadps4-emu_shadPS4/src/shader_recompiler/specialization.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <bitset>
#include "common/types.h"
#include "shader_recompiler/backend/bindings.h"
#include "shader_recompiler/info.h"
#include "shader_recompiler/ir/passes/srt.h"
namespace Shader {... | 4,859 | C++ | .h | 122 | 29.704918 | 95 | 0.574486 | 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,949 | exception.h | shadps4-emu_shadPS4/src/shader_recompiler/exception.h | // SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <exception>
#include <string>
#include <utility>
#include <fmt/format.h>
namespace Shader {
class Exception : public std::exception {
public:
explicit Exception(std::string message... | 1,720 | C++ | .h | 50 | 30.48 | 89 | 0.690821 | 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,950 | program.h | shadps4-emu_shadPS4/src/shader_recompiler/ir/program.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <string>
#include "shader_recompiler/frontend/instruction.h"
#include "shader_recompiler/info.h"
#include "shader_recompiler/ir/abstract_syntax_list.h"
#include "shader_recompiler/ir/b... | 669 | C++ | .h | 19 | 32.578947 | 66 | 0.762053 | 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,951 | attribute.h | shadps4-emu_shadPS4/src/shader_recompiler/ir/attribute.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <fmt/format.h>
#include "common/assert.h"
#include "common/types.h"
namespace Shader::IR {
enum class Attribute : u64 {
// Export targets
RenderTarget0 = 0,
RenderTarget1... | 2,969 | C++ | .h | 107 | 23.420561 | 90 | 0.663509 | 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,952 | opcodes.h | shadps4-emu_shadPS4/src/shader_recompiler/ir/opcodes.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <algorithm>
#include <array>
#include <fmt/format.h>
#include "common/types.h"
#include "shader_recompiler/ir/type.h"
namespace Shader::IR {
enum class Opcode {
#define OPCODE(name, ... | 3,497 | C++ | .h | 94 | 34.904255 | 100 | 0.655356 | 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,953 | value.h | shadps4-emu_shadPS4/src/shader_recompiler/ir/value.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <array>
#include <bit>
#include <cstring>
#include <type_traits>
#include <utility>
#include <boost/container/small_vector.hpp>
#include <boost/intrusive/list.hpp>
#include "common/as... | 10,644 | C++ | .h | 314 | 29.238854 | 93 | 0.661019 | 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,954 | ir_emitter.h | shadps4-emu_shadPS4/src/shader_recompiler/ir/ir_emitter.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <cstring>
#include <type_traits>
#include "shader_recompiler/info.h"
#include "shader_recompiler/ir/attribute.h"
#include "shader_recompiler/ir/basic_block.h"
#include "shader_recompi... | 19,070 | C++ | .h | 296 | 53.033784 | 100 | 0.638015 | 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,955 | abstract_syntax_list.h | shadps4-emu_shadPS4/src/shader_recompiler/ir/abstract_syntax_list.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <vector>
#include "shader_recompiler/ir/value.h"
namespace Shader::IR {
class Block;
struct AbstractSyntaxNode {
enum class Type {
Block,
If,
EndIf,
... | 1,089 | C++ | .h | 49 | 14.306122 | 66 | 0.523717 | 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,956 | reg.h | shadps4-emu_shadPS4/src/shader_recompiler/ir/reg.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/assert.h"
#include "common/bit_field.h"
#include "common/enum.h"
#include "common/types.h"
namespace Shader::IR {
enum class FloatClassFunc : u32 {
SignalingNan = 1 << 0,... | 6,627 | C++ | .h | 464 | 9.5625 | 95 | 0.540189 | 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,957 | srt_gvn_table.h | shadps4-emu_shadPS4/src/shader_recompiler/ir/srt_gvn_table.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <unordered_map>
#include <boost/container/set.hpp>
#include <boost/container/small_vector.hpp>
#include "common/assert.h"
#include "common/hash.h"
#include "common/types.h"
#include "shader_recompil... | 5,076 | C++ | .h | 135 | 28.088889 | 90 | 0.560163 | 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,958 | breadth_first_search.h | shadps4-emu_shadPS4/src/shader_recompiler/ir/breadth_first_search.h | // SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <optional>
#include <type_traits>
#include <boost/container/small_vector.hpp>
#include <queue>
#include "shader_recompiler/ir/value.h"
namespace Shader::IR {
// Use typenam... | 2,497 | C++ | .h | 65 | 30.969231 | 90 | 0.636288 | 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,959 | condition.h | shadps4-emu_shadPS4/src/shader_recompiler/ir/condition.h | // SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <fmt/format.h>
#include "common/types.h"
namespace Shader::IR {
enum class Condition : u32 {
False,
True,
Scc0,
Scc1,
Vccz,
Vccnz,
Execz,
Execnz,
};
con... | 1,080 | C++ | .h | 43 | 20.418605 | 78 | 0.657282 | 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,960 | basic_block.h | shadps4-emu_shadPS4/src/shader_recompiler/ir/basic_block.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <initializer_list>
#include <map>
#include <span>
#include <vector>
#include <boost/intrusive/list.hpp>
#include "common/object_pool.h"
#include "common/types.h"
#include "shader_reco... | 5,674 | C++ | .h | 148 | 32.155405 | 89 | 0.667456 | 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,961 | debug_print.h | shadps4-emu_shadPS4/src/shader_recompiler/ir/debug_print.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/bit_field.h"
#include "shader_recompiler/ir/opcodes.h"
#include "src/common/types.h"
#pragma once
namespace Shader::IR {
constexpr size_t DEBUGPRINT_NUM_FORMAT_ARGS = NumArgsOf(IR::Opcode... | 556 | C++ | .h | 15 | 34.666667 | 84 | 0.753731 | 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,962 | type.h | shadps4-emu_shadPS4/src/shader_recompiler/ir/type.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <string>
#include <fmt/format.h>
#include "common/enum.h"
namespace Shader::IR {
enum class Type {
Void = 0,
Opaque = 1 << 0,
ScalarReg = 1 << 1,
VectorReg = 1 << 2,
... | 1,269 | C++ | .h | 49 | 21.877551 | 73 | 0.575908 | 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,963 | post_order.h | shadps4-emu_shadPS4/src/shader_recompiler/ir/post_order.h | // SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "shader_recompiler/ir/abstract_syntax_list.h"
#include "shader_recompiler/ir/basic_block.h"
namespace Shader::IR {
BlockList PostOrder(const AbstractSyntaxNode& root);
} // namespace S... | 330 | C++ | .h | 8 | 39.625 | 63 | 0.804416 | 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,964 | srt.h | shadps4-emu_shadPS4/src/shader_recompiler/ir/passes/srt.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <boost/container/set.hpp>
#include <boost/container/small_vector.hpp>
#include "common/types.h"
namespace Shader {
using PFN_SrtWalker = void PS4_SYSV_ABI (*)(const u32* /*user_data*... | 1,213 | C++ | .h | 29 | 37.137931 | 98 | 0.714528 | 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,965 | ir_passes.h | shadps4-emu_shadPS4/src/shader_recompiler/ir/passes/ir_passes.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "shader_recompiler/ir/basic_block.h"
#include "shader_recompiler/ir/program.h"
namespace Shader::Optimization {
void SsaRewritePass(IR::BlockList& program);
void IdentityRemovalPass(... | 826 | C++ | .h | 17 | 45.705882 | 87 | 0.799751 | 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,966 | copy_shader.h | shadps4-emu_shadPS4/src/shader_recompiler/frontend/copy_shader.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <span>
#include <unordered_map>
#include "common/types.h"
#include "shader_recompiler/ir/attribute.h"
namespace Shader {
struct CopyShaderData {
std::unordered_map<u32, std::pai... | 469 | C++ | .h | 14 | 31.428571 | 76 | 0.770089 | 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,967 | structured_control_flow.h | shadps4-emu_shadPS4/src/shader_recompiler/frontend/structured_control_flow.h | // SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "shader_recompiler/frontend/control_flow_graph.h"
#include "shader_recompiler/ir/abstract_syntax_list.h"
#include "shader_recompiler/ir/basic_block.h"
#include "shader_recompiler/ir/value... | 817 | C++ | .h | 18 | 36.388889 | 98 | 0.655738 | 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,968 | opcodes.h | shadps4-emu_shadPS4/src/shader_recompiler/frontend/opcodes.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/enum.h"
#include "common/types.h"
namespace Shader::Gcn {
enum class OpcodeSOP2 : u32 {
S_ADD_U32 = 0,
S_SUB_U32 = 1,
S_ADD_I32 = 2,
S_SUB_I32 = 3,
S_ADDC... | 86,671 | C++ | .h | 2,448 | 30.486111 | 99 | 0.606526 | 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,969 | decode.h | shadps4-emu_shadPS4/src/shader_recompiler/frontend/decode.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "shader_recompiler/frontend/instruction.h"
namespace Shader::Gcn {
struct InstFormat {
InstClass inst_class = InstClass::Undefined;
InstCategory inst_category = InstCategory:... | 2,916 | C++ | .h | 76 | 33.881579 | 76 | 0.75878 | 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,970 | control_flow_graph.h | shadps4-emu_shadPS4/src/shader_recompiler/frontend/control_flow_graph.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <algorithm>
#include <span>
#include <string>
#include <boost/container/small_vector.hpp>
#include <boost/intrusive/set.hpp>
#include "common/assert.h"
#include "common/object_pool.h"... | 2,303 | C++ | .h | 71 | 27.929577 | 96 | 0.672686 | 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,971 | fetch_shader.h | shadps4-emu_shadPS4/src/shader_recompiler/frontend/fetch_shader.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <vector>
#include "common/types.h"
namespace Shader::Gcn {
struct VertexAttribute {
u8 semantic; ///< Semantic index of the attribute
u8 dest_vgpr; ///< Destination ... | 979 | C++ | .h | 21 | 43.571429 | 86 | 0.723449 | 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,972 | instruction.h | shadps4-emu_shadPS4/src/shader_recompiler/frontend/instruction.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <limits>
#include "common/bit_field.h"
#include "shader_recompiler/frontend/opcodes.h"
namespace Shader::Gcn {
constexpr u32 GcnMaxSrcCount = 4;
constexpr u32 GcnMaxDstCount = 2;
en... | 3,821 | C++ | .h | 181 | 17.104972 | 66 | 0.65227 | 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,973 | translate.h | shadps4-emu_shadPS4/src/shader_recompiler/frontend/translate/translate.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <span>
#include "shader_recompiler/frontend/instruction.h"
#include "shader_recompiler/info.h"
#include "shader_recompiler/ir/basic_block.h"
#include "shader_recompiler/ir/ir_emitter.h... | 10,576 | C++ | .h | 269 | 34.475836 | 98 | 0.689404 | 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,974 | bindings.h | shadps4-emu_shadPS4/src/shader_recompiler/backend/bindings.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/types.h"
namespace Shader::Backend {
struct Bindings {
u32 unified{};
u32 buffer{};
u32 user_data{};
auto operator<=>(const Bindings&) const = default;
};
}... | 350 | C++ | .h | 12 | 26.333333 | 66 | 0.731928 | 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,975 | spirv_emit_context.h | shadps4-emu_shadPS4/src/shader_recompiler/backend/spirv/spirv_emit_context.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <array>
#include <sirit/sirit.h>
#include "shader_recompiler/backend/bindings.h"
#include "shader_recompiler/info.h"
#include "shader_recompiler/ir/program.h"
#include "shader_recompi... | 7,623 | C++ | .h | 222 | 27.382883 | 99 | 0.625527 | 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,976 | emit_spirv_instructions.h | shadps4-emu_shadPS4/src/shader_recompiler/backend/spirv/emit_spirv_instructions.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <sirit/sirit.h>
#include "common/types.h"
namespace Shader::IR {
enum class Attribute : u64;
enum class ScalarReg : u32;
class Inst;
class Value;
} // namespace Shader::IR
namespace ... | 23,552 | C++ | .h | 406 | 56.413793 | 99 | 0.784655 | 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,977 | emit_spirv.h | shadps4-emu_shadPS4/src/shader_recompiler/backend/spirv/emit_spirv.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <vector>
#include "shader_recompiler/backend/bindings.h"
#include "shader_recompiler/ir/program.h"
#include "shader_recompiler/profile.h"
namespace Shader::Backend::SPIRV {
[[nodisca... | 537 | C++ | .h | 11 | 43.636364 | 97 | 0.731286 | 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,978 | main_window_themes.h | shadps4-emu_shadPS4/src/qt_gui/main_window_themes.h | // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <QApplication>
#include <QLineEdit>
#include <QWidget>
enum class Theme : int {
Dark,
Light,
Green,
Blue,
Violet,
};
class WindowThemes : public QObject {
Q_O... | 408 | C++ | .h | 18 | 19.888889 | 66 | 0.740933 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.