mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-19 16:20:01 -04:00
Triforce v0.3.3
This commit is contained in:
@@ -44,7 +44,6 @@
|
||||
#endif
|
||||
#include "vk_ui.h"
|
||||
#include "vk_menu_keys.h" // (which gamepad buttons confirm and go back: those A and B are bound to) // (how it looks: Dear ImGui, vk_imgui.h)
|
||||
#include "vk_work.h" // (after the others: counts the commands that do GPU work, for full_barrier)
|
||||
#include "vk_dlss.h"
|
||||
#include "vk_fsr3.h" // (the Upscaler row: whether AMD FSR 3.1 runs on this GPU)
|
||||
#include "vk_fsr3fi.h" // (the Frame generation row: whether FSR 3.1 makes the frame)
|
||||
@@ -54,6 +53,7 @@
|
||||
#include "vk_antilag.h"
|
||||
#include "upscaler_rows.h"
|
||||
#include "menu_restart.h"
|
||||
#include "vk_work.h" // (after the others: counts the commands that do GPU work, for full_barrier)
|
||||
#ifndef HOOKSHOT_VERSION // (nx2/build.py gives it to this file: nx2/version.py)
|
||||
#define HOOKSHOT_VERSION "unknown"
|
||||
#endif
|
||||
@@ -3240,6 +3240,7 @@ void menu_record(VkCommandBuffer cmd, uint32_t index, uint32_t w, uint32_t h) {
|
||||
if (prebake_needed(w, h) && ui::begin(w, h)) {
|
||||
ui::Ctx c = menu_ctx(w, h);
|
||||
prebake(c);
|
||||
::mkwvk::rec::boundary(::mkwvk::rec::B_DIRECT); // (Dear ImGui records into cmd directly, its backend through its own pointers: what this thread recorded through vk_work.h reaches cmd first)
|
||||
ui::record(cmd, index, w, h);
|
||||
return;
|
||||
}
|
||||
@@ -3263,6 +3264,7 @@ void menu_record(VkCommandBuffer cmd, uint32_t index, uint32_t w, uint32_t h) {
|
||||
else if (game_tab) draw_game_tab(c);
|
||||
if (fps) draw_fps(c, open || game_tab);
|
||||
if (note) draw_notice(c);
|
||||
::mkwvk::rec::boundary(::mkwvk::rec::B_DIRECT); // (Dear ImGui records into cmd directly, its backend through its own pointers: what this thread recorded through vk_work.h reaches cmd first)
|
||||
ui::record(cmd, index, w, h);
|
||||
}
|
||||
|
||||
@@ -3278,6 +3280,7 @@ void menu_record_image(VkCommandBuffer cmd, VkImage image, VkImageView view, uin
|
||||
else if (game_tab) draw_game_tab(c);
|
||||
if (fps) draw_fps(c, open || game_tab);
|
||||
if (note) draw_notice(c);
|
||||
::mkwvk::rec::boundary(::mkwvk::rec::B_DIRECT); // (Dear ImGui records into cmd directly, its backend through its own pointers: what this thread recorded through vk_work.h reaches cmd first)
|
||||
ui::record_to(cmd, image, view, w, h);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user