mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-25 18:48:51 -04:00
Triforce v0.8.0
Evil HD (SMAA Ultra, 16x filtering, full textures, ambient occlusion with bounce light, sunlight shafts, foliage drawn 4x as far, the remastered texture pack's loader and the launcher's download of it), FSR 3.1 frame generation for every GPU, Intel XeSS, FSR 4 model choice, ReShade presets, Auto (this PC), HUD placement, the options menu in 13 languages, a second input for every control, hold to toggle, DualSense speaker and haptics, NFC from the player's own dumps, the above-60 fps game fixes, the Debug tab's flight and Inventory fixes, the launcher's full settings, and over 250 fixes.
This commit is contained in:
@@ -41,10 +41,25 @@ namespace fsr3fi { bool wanted = false; bool frames_wanted() { return wanted; }
|
||||
// (Triforce) whether RivaTuner Statistics Server holds the display thread's presents (vk_pace.h): not here
|
||||
namespace pace { bool display_yields() { return false; } }
|
||||
int fsr_calls = 0, fsr_result = 1;
|
||||
int fsr3fi_frame(VkCommandBuffer, OutSet&, int, uint32_t w, uint32_t h, uint64_t sequence) {
|
||||
// ((Triforce) 11-24) AMD FSR 3.1's frame interpolation at any multiplier (the Frame generation by row): a set's frames at k/m,
|
||||
// each into its own slot; made (fsr_result) or none. Its HUD source is recorded first (hud_source: nothing here)
|
||||
int fsr3fi_frames(VkCommandBuffer, OutSet&, int, uint32_t w, uint32_t h, uint64_t sequence, const float* t, const int* slot,
|
||||
int count) {
|
||||
CHECK(w == allocated_w && h == allocated_h && sequence > 0);
|
||||
++fsr_calls; return fsr_result;
|
||||
for (int i = 0; i < count; i++) CHECK(t[i] > 0.0f && t[i] < 1.0f && slot[i] == i);
|
||||
++fsr_calls; return fsr_result ? count : 0;
|
||||
}
|
||||
bool hud_source(VkCommandBuffer, int, uint32_t, uint32_t, int, int, uint32_t w, uint32_t h) {
|
||||
CHECK(w == allocated_w && h == allocated_h);
|
||||
return false;
|
||||
}
|
||||
enum { kMakerNone = 0, kMakerOwn = 1, kMakerFsr3 = 2, kMakerAmd = 3 };
|
||||
std::atomic<int> last_maker{0};
|
||||
// ((Triforce) 11-24) AMD Anti-Lag 2's frame of a set, and the game's timeline (RX_VK_FG_GAME_TIMELINE, off here)
|
||||
uint64_t antilag_frame() { return 0; }
|
||||
bool game_timeline() { return false; }
|
||||
void fixed_dues(int64_t, int64_t, int, int64_t, int64_t*) { std::abort(); }
|
||||
int64_t pace_lead(int64_t, int) { std::abort(); }
|
||||
// (Triforce) AMD FSR 4's frame generation (vk_framegen.cpp fsr4_frame, vk_fsr4.h): a stand-in that answers as told
|
||||
int fsr4_calls = 0;
|
||||
bool fsr4_blend = false;
|
||||
|
||||
Reference in New Issue
Block a user