mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-24 04:46:56 +02:00
Log the game title id
This commit is contained in:
@@ -196,6 +196,10 @@ void Run(const RunOptions& options) {
|
|||||||
ClearDebugTextureFolder();
|
ClearDebugTextureFolder();
|
||||||
|
|
||||||
PrintSystemInfo();
|
PrintSystemInfo();
|
||||||
|
std::string title_id;
|
||||||
|
if (Loader::SystemContentParamSfoGetString("TITLE_ID", &title_id) && !title_id.empty()) {
|
||||||
|
Log::WriteToConsoleAndLog(fmt::format("Title ID: {}\n", title_id));
|
||||||
|
}
|
||||||
|
|
||||||
int ok = atexit(KytyClose);
|
int ok = atexit(KytyClose);
|
||||||
EXIT_NOT_IMPLEMENTED(ok != 0);
|
EXIT_NOT_IMPLEMENTED(ok != 0);
|
||||||
|
|||||||
@@ -1090,17 +1090,6 @@ void CommandProcessor::DispatchDirect(uint32_t thread_group_x, uint32_t thread_g
|
|||||||
// local_x = std::max(cs.num_thread_x, 1u);
|
// local_x = std::max(cs.num_thread_x, 1u);
|
||||||
// local_y = std::max(cs.num_thread_y, 1u);
|
// local_y = std::max(cs.num_thread_y, 1u);
|
||||||
// local_z = std::max(cs.num_thread_z, 1u);
|
// local_z = std::max(cs.num_thread_z, 1u);
|
||||||
if (cs.wave_size == 64u) {
|
|
||||||
static std::atomic_bool logged_wave64_shader {false};
|
|
||||||
if (!logged_wave64_shader.exchange(true, std::memory_order_relaxed)) {
|
|
||||||
LOGF("warning: executing wave64 compute shader cs=0x%016" PRIx64 "\n",
|
|
||||||
cs.data_addr);
|
|
||||||
std::printf("warning: executing wave64 compute shader cs=0x%016" PRIx64 "\n",
|
|
||||||
cs.data_addr);
|
|
||||||
std::fflush(stdout);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
m_renderer.GetRenderExecutor().DispatchDirect(m_submit_id, CurrentBuffer(), thread_group_x,
|
m_renderer.GetRenderExecutor().DispatchDirect(m_submit_id, CurrentBuffer(), thread_group_x,
|
||||||
thread_group_y, thread_group_z, mode);
|
thread_group_y, thread_group_z, mode);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user