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:
@@ -1555,7 +1555,9 @@ void EmitContext::DefineGlobalMemoryFunctions(const Info& info) {
|
||||
// the wall of trees in the sky. The culling's compute programs, with hundreds of global loads, keep the helper
|
||||
// (NVIDIA took 41 s on one inlined, above)
|
||||
static const bool gm_inline{!getenv("EDEN_NX2_GM_INLINE") || getenv("EDEN_NX2_GM_INLINE")[0] != '0'};
|
||||
const bool inline_here{gm_inline && (stage == Stage::Task || stage == Stage::Mesh ||
|
||||
// ((11-28) lab: EDEN_NX2_GM_INLINE=2 inlines them in every stage, for the Jabu-Jabu bars' fragment program a9b0170b)
|
||||
static const bool gm_inline_all{gm_inline && getenv("EDEN_NX2_GM_INLINE") && getenv("EDEN_NX2_GM_INLINE")[0] == '2'};
|
||||
const bool inline_here{gm_inline_all || gm_inline && (stage == Stage::Task || stage == Stage::Mesh ||
|
||||
(shift == 4 && runtime_info.inline_global_128_loads))};
|
||||
const Id func_id{OpFunction(type, inline_here ? spv::FunctionControlMask::Inline : spv::FunctionControlMask::DontInline,
|
||||
function_type)};
|
||||
|
||||
Reference in New Issue
Block a user