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:
ruckus7382sfgsgdf
2026-11-22 11:59:06 -06:00
parent 70c210cee1
commit e6f2f248f2
529 changed files with 55958 additions and 1898 deletions

View File

@@ -11,6 +11,7 @@
#include <vector>
#include "vk_jobs.h"
#include "cpu_count.h" // ((Triforce, 11-22, OS-49) the threads to size by: HOS_SIM_CPU
#include "vk_internal.h"
#include "vk_draw.h" // (ub_thread_off)
@@ -61,7 +62,7 @@ void worker() {
void start() {
// (hookshot: with 16 hardware threads or more, 6 workers; RX_VK_WORKERS=<n>: n, 1 to 16)
const unsigned hw = std::thread::hardware_concurrency();
const unsigned hw = cpu_count();
unsigned n = hw >= 16 ? 6u : std::clamp(hw / 3, 2u, 4u);
if (const char* e = getenv("RX_VK_WORKERS")) n = (unsigned)std::clamp(atoi(e), 1, 16);
for (unsigned i = 0; i < n; i++) std::thread(worker).detach();