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:
ruckus7382sfgsgdf
2026-11-28 10:54:41 -06:00
parent 2df08c751e
commit b527e29adb
203 changed files with 18821 additions and 2051 deletions

View File

@@ -44,6 +44,25 @@ inline VkResult query_results(Call&& call, VkDevice device, VkQueryPool pool, ui
}
} // namespace mkwvk::gpu_waits_vk
// ((Triforce, 11-26, the GPU audit's C15; capturepushkeep.h) Every push constants call and every pipeline bind of the renderer
// goes through here, so that the zeros a plain draw's capture push left on a command buffer (vk_draw.cpp push_capture, kept in
// that command buffer's state: cmd_work.h CmdWork::cap) are forgotten by anything that could have changed them: a compute
// pass's push over the same bytes, another pipeline's layout. Here and not at the call sites: a site left out would leave a
// stale address for a vertex stage to write through. Neither is counted as work (the barrier rules' counts are as before).
// The draw's own pushes and its program's bind go through here as well, and note what they left after (push_capture,
// push_constants, draw). RX_VK_CAPTURE_PUSH_KEEP=0: nothing reads what is noted here
namespace mkwvk::capture_keep_vk {
inline void push(VkCommandBuffer cmd, VkPipelineLayout layout, VkShaderStageFlags stages, uint32_t offset, uint32_t size,
const void* values) {
::capturepushkeep::any_push(::mkwvk::cmd_work(cmd).cap, offset, size, values);
::mkwvk::rec::rx_vkCmdPushConstants(cmd, layout, stages, offset, size, values);
}
inline void bind(VkCommandBuffer cmd, VkPipelineBindPoint point, VkPipeline pipeline) {
::capturepushkeep::any_bind(::mkwvk::cmd_work(cmd).cap);
::mkwvk::rec::rx_vkCmdBindPipeline(cmd, point, pipeline);
}
} // namespace mkwvk::capture_keep_vk
// ((Triforce) the command buffer, the first argument, counted as it is passed on: work_on returns it. __VA_OPT__: a call with no
// argument after it, vkCmdEndRendering's)
#define RX_WORK_ON(cmd, ...) ::mkwvk::work_on(cmd) __VA_OPT__(, ) __VA_ARGS__
@@ -82,11 +101,12 @@ inline VkResult query_results(Call&& call, VkDevice device, VkQueryPool pool, ui
// (RX_VK_RECORDER) the calls that set state, bind or mark: not work (no count), but in the command buffer in order with the work, so
// through the recorder too
#define vkCmdBindPipeline(...) (::mkwvk::rec::rx_vkCmdBindPipeline(__VA_ARGS__))
// ((Triforce, 11-26, C15) these two through capture_keep_vk, above, then the recorder as the others)
#define vkCmdBindPipeline(...) (::mkwvk::capture_keep_vk::bind(__VA_ARGS__))
#define vkCmdBindDescriptorSets(...) (::mkwvk::rec::rx_vkCmdBindDescriptorSets(__VA_ARGS__))
#define vkCmdBindIndexBuffer(...) (::mkwvk::rec::rx_vkCmdBindIndexBuffer(__VA_ARGS__))
#define vkCmdBindVertexBuffers2(...) (::mkwvk::rec::rx_vkCmdBindVertexBuffers2(__VA_ARGS__))
#define vkCmdPushConstants(...) (::mkwvk::rec::rx_vkCmdPushConstants(__VA_ARGS__))
#define vkCmdPushConstants(...) (::mkwvk::capture_keep_vk::push(__VA_ARGS__))
#define vkCmdPushDescriptorSetKHR(...) (::mkwvk::rec::rx_vkCmdPushDescriptorSetKHR(__VA_ARGS__))
#define vkCmdPushDescriptorSetWithTemplateKHR(...) (::mkwvk::rec::rx_vkCmdPushDescriptorSetWithTemplateKHR(__VA_ARGS__))
#define vkCmdSetViewport(...) (::mkwvk::rec::rx_vkCmdSetViewport(__VA_ARGS__))