eden-miror/src/video_core/renderer_vulkan
xbzk 09b6b3b71e
xbzk/gpu-logging_qt-controls_android-fix (#4018)
5af7771f83-Bugfix: Made gpu_log_level global-only (was per-game switchable). Fixed Android non-determinism where a per-game profile silently overrode the global to Off and trapped GPULogger::Initialize() in a dead state, making shader dumps fail invisibly. Android per-game UI now hides the whole GPU logging block; Qt UI is untouched (global-only anyway).

bf4aabe8ab-Refactor/Cleanup: Removed gpu_logging_enabled master toggle as redundant with gpu_log_level == Off. Introduced GPU::Logging::IsActive() helper, replaced 14 call sites across vk_*.cpp. Refactored LogShaderCompilation() to be text-only and extracted SPIR-V dumping into a standalone GPU::Logging::DumpSpirvShader() free function. No singleton dependency, gated only by gpu_log_shader_dumps. Now gpu_log_level and gpu_log_shader_dumps are fully orthogonal. Cleaned up Android (BooleanSetting, SettingsItem, presenter, 7 locale string files).

865a1c5027-Refactor: Renamed dump_shaders → dump_guest_shaders to disambiguate from gpu_log_shader_dumps. Updated Qt label to "Dump Guest (Maxwell) Shaders" and rewrote the tooltip to mention .ash, the DumpDir/shaders/ location, and nvdisasm.

7cab456fdf-Feature: Added Qt UI control for GPU log level in the Logging session. Added gpu_log_shader_dumps checkbox to the Graphics column right below dump_guest_shaders.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4018
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
2026-06-27 02:52:13 +02:00
..
present [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
blit_image.cpp [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
blit_image.h [vk] remove unused vk_texture_manager.cpp and unused shader conversions (#3432) 2026-01-31 20:33:35 +01:00
fixed_pipeline_state.cpp [video_core/engines/maxwell3d] memory inline DrawState to reduce indirection on hot paths (#3758) 2026-04-28 17:44:51 +02:00
fixed_pipeline_state.h [vulkan] 2nd Vulkan Global Maintenance (#3853) 2026-04-24 16:37:18 +02:00
maxwell_to_vk.cpp [vk, opengl] recognize and use ETC2 (if available) textures natively (#3237) 2026-05-15 22:08:09 +02:00
maxwell_to_vk.h [dynarmic, common] pagetable clustering (#3215) 2026-01-13 00:27:31 +01:00
pipeline_helper.h [video_core] index rescaling metadata by descriptor (#3899) (#3924) 2026-05-04 20:27:53 +02:00
pipeline_statistics.cpp [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
pipeline_statistics.h [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
renderer_vulkan.cpp [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
renderer_vulkan.h [vk] Unify RAII in Vulkan (#2679) 2025-10-08 04:01:24 +02:00
vk_blit_screen.cpp [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
vk_blit_screen.h [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
vk_buffer_cache.cpp [vulkan] Fix regressions found in last stable release (#3953) 2026-06-02 01:06:12 +02:00
vk_buffer_cache.h [clang, opengl] fix opengl build on PGO build and clang-cl on windows (#3332) 2026-01-18 02:35:57 +01:00
vk_buffer_cache_base.cpp Buffer Cache: Fully rework the buffer cache. 2023-04-29 00:46:31 +02:00
vk_command_pool.cpp general: fix spelling mistakes 2023-03-12 11:33:01 -04:00
vk_command_pool.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
vk_compute_pass.cpp [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
vk_compute_pass.h [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
vk_compute_pipeline.cpp xbzk/gpu-logging_qt-controls_android-fix (#4018) 2026-06-27 02:52:13 +02:00
vk_compute_pipeline.h [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
vk_descriptor_pool.cpp [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
vk_descriptor_pool.h [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
vk_fence_manager.cpp Clang format and ddress feedback 2023-04-24 12:38:47 +02:00
vk_fence_manager.h Query Cache: address issues 2023-09-23 23:05:30 +02:00
vk_graphics_pipeline.cpp xbzk/gpu-logging_qt-controls_android-fix (#4018) 2026-06-27 02:52:13 +02:00
vk_graphics_pipeline.h [vulkan] Fix Vulkan graphics pipeline crash when image descriptor count exceeds 64 (#3785) 2026-03-31 04:49:20 +02:00
vk_master_semaphore.cpp [vulkan] Fix Vulkan rendering, image layout, and synchronization issues (#3511) 2026-03-02 02:51:50 +01:00
vk_master_semaphore.h [vk] Fix lost wakeup in fence mode using atomic wait (#3598) 2026-02-24 06:37:28 +01:00
vk_pipeline_cache.cpp xbzk/gpu-logging_qt-controls_android-fix (#4018) 2026-06-27 02:52:13 +02:00
vk_pipeline_cache.h [spirv] nuke spirv-opt (#3877) 2026-04-25 21:54:27 +02:00
vk_present_manager.cpp [*] basic in-house cpp linting (#4039) 2026-06-04 05:49:07 +02:00
vk_present_manager.h [vk] fix crash introduced in 9a07bd0570 (#3685) 2026-03-06 19:52:17 +01:00
vk_query_cache.cpp [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
vk_query_cache.h [vulkan] 2nd Vulkan Global Maintenance (#3853) 2026-04-24 16:37:18 +02:00
vk_rasterizer.cpp xbzk/gpu-logging_qt-controls_android-fix (#4018) 2026-06-27 02:52:13 +02:00
vk_rasterizer.h [vulkan] 2nd Vulkan Global Maintenance (#3853) 2026-04-24 16:37:18 +02:00
vk_render_pass_cache.cpp Revert "[vk] Simplified layouts per driver configuration (#3271)" (#3571) 2026-02-19 04:07:45 +01:00
vk_render_pass_cache.h [*] change all std::unordered_map and std::unordered_set into ankerl::unordered_dense::map/set variants (#3442) 2026-02-10 03:34:07 +01:00
vk_resource_pool.cpp general: fix spelling mistakes 2023-03-12 11:33:01 -04:00
vk_resource_pool.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
vk_scheduler.cpp xbzk/gpu-logging_qt-controls_android-fix (#4018) 2026-06-27 02:52:13 +02:00
vk_scheduler.h [video_core] Add in-flight flush throttling to prevent CPU/GPU desync (#4085) 2026-06-22 17:05:18 +02:00
vk_shader_util.cpp Revert some wip changes 2025-04-28 16:14:42 -03:00
vk_shader_util.h Revert some wip changes 2025-04-28 16:14:42 -03:00
vk_staging_buffer_pool.cpp [vk] Prevent OOM due to increased staging buffer on *nix (#4116) 2026-06-23 01:48:11 +02:00
vk_staging_buffer_pool.h revert [vk] Fast UBO: fix tracking, resize heuristics, add debug guard (#2695) (#2706) 2025-10-09 21:37:27 +02:00
vk_state_tracker.cpp [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
vk_state_tracker.h [vulkan] 2nd Vulkan Global Maintenance (#3853) 2026-04-24 16:37:18 +02:00
vk_swapchain.cpp [*] basic in-house cpp linting (#4039) 2026-06-04 05:49:07 +02:00
vk_swapchain.h [vk] unify VkSurfaceKHR with Android and the rest of platforms; remove technically incorrect nullptr() ctor for handles (#2971) 2026-03-05 07:32:18 +01:00
vk_texture_cache.cpp xbzk/gpu-logging_qt-controls_android-fix (#4018) 2026-06-27 02:52:13 +02:00
vk_texture_cache.h [common, core] remove uneeded memory indirection overhead at startup (#3306) 2026-01-16 23:39:16 +01:00
vk_texture_cache_base.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
vk_turbo_mode.cpp [*] basic in-house cpp linting (#4039) 2026-06-04 05:49:07 +02:00
vk_turbo_mode.h [*] basic in-house cpp linting (#4039) 2026-06-04 05:49:07 +02:00
vk_update_descriptor.cpp [common/logging] Simplify logging logic and fix issues when logging before system is created (#3688) 2026-03-12 18:29:15 +01:00
vk_update_descriptor.h [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00