cfg: add vulkan custom driver settings

This commit is contained in:
DH 2025-03-17 20:11:05 +03:00
parent 58070b07c3
commit 407c1da7da

View file

@ -193,7 +193,11 @@ struct cfg_root : cfg::node
cfg::uint<0, 100> rcas_sharpening_intensity{ this, "FidelityFX CAS Sharpening Intensity", 50, true }; cfg::uint<0, 100> rcas_sharpening_intensity{ this, "FidelityFX CAS Sharpening Intensity", 50, true };
cfg::_enum<vk_gpu_scheduler_mode> asynchronous_scheduler{ this, "Asynchronous Queue Scheduler", vk_gpu_scheduler_mode::safe }; cfg::_enum<vk_gpu_scheduler_mode> asynchronous_scheduler{ this, "Asynchronous Queue Scheduler", vk_gpu_scheduler_mode::safe };
cfg::uint<256, 65536> vram_allocation_limit{ this, "VRAM allocation limit (MB)", 65536, false }; cfg::uint<256, 65536> vram_allocation_limit{ this, "VRAM allocation limit (MB)", 65536, false };
#ifdef ANDROID
cfg::string custom_driver_path{ this, "Custom Driver Path", "", false };
cfg::string custom_driver_internal_data_dir{ this, "Custom Driver Internal Data Directory", "", false };
cfg::string custom_driver_hook_dir{ this, "Custom Driver Hook Directory", "", false };
#endif
} vk{ this }; } vk{ this };
struct node_perf_overlay : cfg::node struct node_perf_overlay : cfg::node