mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-19 04:58:27 +00:00
f1b23c616e
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
* devtools: shader editing and compiling * devtools: patch shader at runtime * devtools: shader editing load patch even with config disabled
24 lines
546 B
C++
24 lines
546 B
C++
// 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 disassembler_cli_isa{"clrxdisasm --raw {src}"};
|
|
std::string disassembler_cli_spv{"spirv-cross -V {src}"};
|
|
bool frame_dump_render_on_collapse{false};
|
|
};
|
|
|
|
extern TOptions Options;
|
|
|
|
void LoadOptionsConfig(const char* line);
|
|
void SerializeOptionsConfig(ImGuiTextBuffer* buf);
|
|
|
|
} // namespace Core::Devtools
|