mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-22 17:19:58 -04:00
Triforce v0.7.0 "Sage Of Courage"
The 0.6 crashes after warps and area changes fixed (no write-back into memory the capture leaves out), invisible objects fixed (occlusion gate), DLSS frame generation flicker fixed, achievements, the renderer built with a play profile, faster translated game code, helper threads judged on settled scenes, memory, shader preparation, audio effects, launcher, controls and Linux fixes.
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
|
||||
namespace pcache_play {
|
||||
|
||||
@@ -33,6 +34,13 @@ inline bool routes(bool main_cache, bool play_cache, bool preparing) {
|
||||
return main_cache && play_cache && !preparing;
|
||||
}
|
||||
|
||||
/// ((Triforce, 11-22, the performance audit's PIPE-95, after Source A's) RX_VK_PCACHE_OWN_PASSES: whether the back end's own
|
||||
/// compute passes (FSR 3.1's, the anti-aliasing's, the texture converters': vk_draw.cpp shared_cache_compute) are made
|
||||
/// through the play cache as the game's are, on unless set to 0 (0: bare into the main cache, as before)
|
||||
inline bool own_passes(const char* env) {
|
||||
return !env || std::atoi(env) != 0;
|
||||
}
|
||||
|
||||
/// At the start, the play file read: whether it is folded into the main cache now (fold_bytes 0: never)
|
||||
inline bool fold_due(uint64_t play_bytes, uint64_t fold_bytes) {
|
||||
return fold_bytes && play_bytes >= fold_bytes;
|
||||
|
||||
Reference in New Issue
Block a user