mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-29 04:18:49 -04:00
Triforce v0.8.5
A Randomizer page in the launcher, a new title screen with Mods and Save Select tabs, scaling changes applied in game, the Jabu-Jabu bars fixed, renderer frame-time work and the brightness-flash fix, and fixes from the 0.8.4 reports.
This commit is contained in:
@@ -1668,7 +1668,17 @@ void GlobalMemoryToStorageBufferPass(Environment& env, IR::Program& program,
|
||||
return;
|
||||
}
|
||||
// (hookshot)
|
||||
static const bool no_mesh{std::getenv("RX_VK_FOLLOW_MESH") == nullptr};
|
||||
// ((Triforce, 11-28) the task and mesh stages too, by default: RX_VK_FOLLOW_MESH=0, the compute stage alone, as before.
|
||||
// Jabu-Jabu's tentacle bars (mesh a9b0170bd5986fd6) light each vertex from a probe grid: a chunk header, then a cell
|
||||
// record read through a pointer loaded from storage buffer 1. Its second vertex batch's reads were tracked to storage
|
||||
// buffer 2's descriptor (c0+0x790) and read another buffer there: every probe "invalid", no ambient, the black patches
|
||||
// with teal edges the bars always had (Navi's light, a pass of its own, still showed them). The first batch's reads went
|
||||
// to the run-time search and were right. Left to it, as compute's are, the bars are whole. Off on 11-07 because the leaves
|
||||
// went missing; the search has covered whole pools and the page table since)
|
||||
static const bool no_mesh{[] {
|
||||
const char* const e{std::getenv("RX_VK_FOLLOW_MESH")};
|
||||
return e && *e && std::atoi(e) == 0;
|
||||
}()};
|
||||
g_follow_stage = program.stage == Stage::Compute || (!no_mesh && (program.stage == Stage::Task || program.stage == Stage::Mesh));
|
||||
// (geometry stages only: with the fragment stage too, the sky drew black rectangles and the lighting went too bright at the castle)
|
||||
g_graphics_stage = program.stage != Stage::Compute && program.stage != Stage::Fragment;
|
||||
|
||||
Reference in New Issue
Block a user