Triforce v0.5.0

In-game mods (GameBanana browser, search and installs, with the Mask Salesman), code-patch and cheat mods, the devs' test18 to test45 work (full performance overlay, frame pacing on, steady frame rate, save export and import, bug capture, new options rows, Setup's Mods page and Add to Steam), occlusion queries and new defaults, Auto resolution that scales, replay helper threads and robust buffers off by default, the options in sections.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-17 22:40:50 -06:00
parent 93eeb714c2
commit 6f338c8f56
600 changed files with 116254 additions and 2522 deletions

View File

@@ -13,8 +13,15 @@
namespace mkwvk {
/// buffer <-> texture level (nvn_p_copy_bt); to_image: buffer to texture, else texture to buffer
void copy_b2t(VkCommandBuffer cmd, NvnState& s, const nvn_p_copy_bt& p, bool to_image);
/// buffer <-> texture level (nvn_p_copy_bt); to_image: buffer to texture, else texture to buffer. cpu_done (Triforce): a
/// parallel replay's worker after its dry pass, which made the copies the CPU makes (dry_copy_b2t): not made again
void copy_b2t(VkCommandBuffer cmd, NvnState& s, const nvn_p_copy_bt& p, bool to_image, bool cpu_done = false);
/// (Triforce) The parallel replay's dry pass, in stream order on the replay thread: the destination of a buffer-to-texture
/// copy, of a texture-to-texture copy and of a texture clear looked up as the copy will look it up and marked as written
/// by the GPU, before any segment's worker records (vk_xfer.cpp, "the parallel replay's dry pass")
void dry_copy_b2t(NvnState& s, const nvn_p_copy_bt& p);
void dry_copy_t2t(const nvn_p_copy_tt& p);
void dry_clear_tex(const nvn_p_clear_tex& p);
/// texture level -> texture level (nvn_p_copy_tt): copy, blit when scaled or converting, resolve when multisampled
void copy_t2t(VkCommandBuffer cmd, NvnState& s, const nvn_p_copy_tt& p);
/// a whole level to a value (nvn_p_clear_tex)