graphics: write small GPU-written tiled images back to guest memory behind --readback-tiled-images

Co-authored-by: Dimitar Vagalinski <275970482+overlordxrz-source@users.noreply.github.com>
Co-authored-by: Mr. Big Britches <111622360+MrBigBritches@users.noreply.github.com>
This commit is contained in:
authored and nmzik committed 2026-10-21 20:55:02 +02:00
1 parent 80932f8da1
commit c07ad621f2
10 files changed
+36 -4

No files matched your search

+2
View File
@@ -89,6 +89,7 @@ static void PrintUsage() {
::printf(" --profile Enable the Tracy profiler.\n");
::printf(" --spirv-debug-printf Enable SPIR-V debug printf.\n");
::printf(" --readback-linear-images Read back writable linear images on submit.\n");
::printf(" --readback-tiled-images Read back small writable tiled images on submit.\n");
::printf(" --sync-raw-image-buffers Synchronize raw reads of GPU images.\n");
::printf(" --no-trophy-notifications Disable trophy unlock toasts and their sound.\n");
::printf(
@@ -206,6 +207,7 @@ static constexpr Flag FLAGS[] = {
{"--profile", &ConfigOptions::profiler_enabled},
{"--spirv-debug-printf", &ConfigOptions::spirv_debug_printf_enabled},
{"--readback-linear-images", &ConfigOptions::readback_linear_images},
{"--readback-tiled-images", &ConfigOptions::readback_tiled_images},
{"--sync-raw-image-buffers", &ConfigOptions::sync_raw_image_buffers},
{"--no-trophy-notifications", &ConfigOptions::trophy_enabled, false},
{"--perf-overlay", &ConfigOptions::perf_overlay_enabled},