mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-25 18:48:51 -04:00
Triforce v0.8.0
Evil HD (SMAA Ultra, 16x filtering, full textures, ambient occlusion with bounce light, sunlight shafts, foliage drawn 4x as far, the remastered texture pack's loader and the launcher's download of it), FSR 3.1 frame generation for every GPU, Intel XeSS, FSR 4 model choice, ReShade presets, Auto (this PC), HUD placement, the options menu in 13 languages, a second input for every control, hold to toggle, DualSense speaker and haptics, NFC from the player's own dumps, the above-60 fps game fixes, the Debug tab's flight and Inventory fixes, the launcher's full settings, and over 250 fixes.
This commit is contained in:
@@ -21,6 +21,10 @@ def main():
|
||||
used=source[start:stop]
|
||||
begin=source.index('const uint32_t n =',stop);end=source.index(';',begin)+1
|
||||
rounded=source[begin:end]
|
||||
# ((Triforce) the simulated-turf lists' storage descriptors' encoding, which the range reads through: ir_opt/sim_turf_pool_pass.h)
|
||||
info_h=(ROOT/'gpu/vk/eden/shader_recompiler/shader_info.h').read_text(encoding='utf-8')
|
||||
private=info_h[info_h.index('inline constexpr u32 kSimTurfStorageBit'):]
|
||||
private=private[:private.index(chr(10)+'}'+chr(10),private.index('constexpr u32 SimTurfStorageOrig('))+3]
|
||||
fixture=r'''
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
@@ -30,7 +34,9 @@ def main():
|
||||
struct Descriptor { uint32_t cbuf_index,cbuf_offset,count; };
|
||||
struct Info { static constexpr uint32_t MAX_CBUFS=18;bool uses_global_memory=false;
|
||||
std::array<uint32_t,MAX_CBUFS> constant_buffer_used_sizes{};std::vector<Descriptor> storage_buffers_descriptors; };
|
||||
namespace Shader { using Info=::Info; }
|
||||
namespace Shader { using Info=::Info; using u32=uint32_t; using StorageBufferDescriptor=::Descriptor;
|
||||
''' + private + r'''
|
||||
}
|
||||
struct Stage { Info info; };
|
||||
uint32_t extent(const Stage& st,uint32_t index) {
|
||||
''' + used + rounded + r'''
|
||||
|
||||
Reference in New Issue
Block a user