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:
@@ -26,5 +26,25 @@ int main() {
|
||||
const std::vector<std::string> twins = {"NVIDIA GeForce RTX 3090", "NVIDIA GeForce RTX 3090"};
|
||||
CHECK("two cards of one name: the numbered one when it has that name", pick("NVIDIA GeForce RTX 3090", twins, 2) == 1);
|
||||
CHECK("a number past the list with a name: the first of that name", pick("NVIDIA GeForce RTX 3090", twins, 5) == 0);
|
||||
|
||||
// ((Triforce) 11-22) a number alone on the processor graphics while a card of its own is there: Auto (RX 6600 + 5600G: the
|
||||
// launcher's "1: AMD Radeon RX 6600" in Windows' order saved 2, the game's 2 is the 5600G's graphics)
|
||||
using mkwvk::gpu_choice::unnamed_integrated;
|
||||
const std::vector<std::string> apu = {"AMD Radeon RX 6600", "AMD Radeon(TM) Graphics"};
|
||||
const std::vector<int> apu_types = {2, 1};
|
||||
CHECK("no name, the number on the processor graphics: Auto", unnamed_integrated("", apu, apu_types, 2));
|
||||
CHECK("a name no card has, the number on the processor graphics: Auto",
|
||||
unnamed_integrated("AMD Radeon RX 6600 XT", apu, apu_types, 2));
|
||||
CHECK("the processor graphics chosen by its name: taken", !unnamed_integrated("AMD Radeon(TM) Graphics", apu, apu_types, 2));
|
||||
CHECK("the name finds the card under another number: pick's", !unnamed_integrated("AMD Radeon RX 6600", apu, apu_types, 2) &&
|
||||
pick("AMD Radeon RX 6600", apu, 2) == 0);
|
||||
CHECK("no name, the number on the card: taken", !unnamed_integrated("", apu, apu_types, 1));
|
||||
CHECK("Auto: Auto as before", !unnamed_integrated("", apu, apu_types, 0));
|
||||
CHECK("processor graphics alone (no card of its own): the number", !unnamed_integrated("", {"Intel(R) Iris(R) Xe Graphics"}, {1}, 1));
|
||||
const std::vector<std::string> twice = {"AMD Radeon RX 7900 XTX", "AMD Radeon RX 7900 XTX", "AMD Radeon(TM) Graphics"};
|
||||
CHECK("the card listed twice, the number on the processor graphics: Auto", unnamed_integrated("", twice, {2, 2, 1}, 3));
|
||||
CHECK("two processor graphics and no card (a software device, type 4): the number",
|
||||
!unnamed_integrated("", {"AMD Radeon(TM) Graphics", "llvmpipe (LLVM 22.1.8, 256 bits)"}, {1, 4}, 1));
|
||||
CHECK("types shorter than names: the number", !unnamed_integrated("", apu, {2}, 2));
|
||||
std::puts("gpu choice: all checks passed");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user