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:
@@ -1,5 +1,6 @@
|
||||
// (Triforce) The Happy Mask Salesman on the Mods page (vk_salesman.h): his files, his poses, and a small rasterizer.
|
||||
#include "vk_salesman.h"
|
||||
#include "cpu_count.h" // ((Triforce, 11-22, OS-49) the threads to size by: HOS_SIM_CPU
|
||||
|
||||
#include <algorithm>
|
||||
#include <atomic>
|
||||
@@ -892,7 +893,7 @@ void draw(Model& md, float secs, float lift, int out_w, int out_h, Frame& out) {
|
||||
}
|
||||
}
|
||||
}
|
||||
const int bands = std::clamp((int)std::thread::hardware_concurrency() - 1, 1, 6);
|
||||
const int bands = std::clamp((int)cpu_count() - 1, 1, 6);
|
||||
std::vector<std::thread> th;
|
||||
for (int bi = 0; bi < bands; bi++) {
|
||||
const int ry0 = rs.H * bi / bands, ry1 = rs.H * (bi + 1) / bands;
|
||||
|
||||
Reference in New Issue
Block a user