Triforce v0.2.0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ruckus7382sfgsgdf
2026-11-10 19:32:48 -06:00
commit 34b3683441
1730 changed files with 554853 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
// mkw-recomp: the settings Eden's shader recompiler reads (gpu/vk/eden), as constants. The Vulkan backend
// renders at the game's own resolution, so resolution scaling is off.
#pragma once
#include "common/common_types.h"
namespace Settings {
template <typename T>
struct Constant {
T value{};
T GetValue() const {
return value;
}
operator T() const {
return value;
}
};
struct ResolutionScalingInfo {
u32 up_scale{1};
u32 down_shift{0};
f32 up_factor{1.0f};
f32 down_factor{1.0f};
bool active{false};
bool downscale{false};
};
struct Values {
bool disable_shader_loop_safety_checks{false};
Constant<bool> fix_bloom_effects{};
bool renderer_debug{false};
ResolutionScalingInfo resolution_info{};
};
inline Values values{};
} // namespace Settings