config: Better wording for VK pipeline cache option and enable by default

master
Wollnashorn 2022-12-31 02:49:08 +07:00
parent 67d4f190f7
commit f4626512ff
2 changed files with 3 additions and 3 deletions

@ -451,7 +451,7 @@ struct Values {
SwitchableSetting<bool> use_asynchronous_shaders{false, "use_asynchronous_shaders"}; SwitchableSetting<bool> use_asynchronous_shaders{false, "use_asynchronous_shaders"};
SwitchableSetting<bool> use_fast_gpu_time{true, "use_fast_gpu_time"}; SwitchableSetting<bool> use_fast_gpu_time{true, "use_fast_gpu_time"};
SwitchableSetting<bool> use_pessimistic_flushes{false, "use_pessimistic_flushes"}; SwitchableSetting<bool> use_pessimistic_flushes{false, "use_pessimistic_flushes"};
SwitchableSetting<bool> use_vulkan_driver_pipeline_cache{false, SwitchableSetting<bool> use_vulkan_driver_pipeline_cache{true,
"use_vulkan_driver_pipeline_cache"}; "use_vulkan_driver_pipeline_cache"};
SwitchableSetting<u8> bg_red{0, "bg_red"}; SwitchableSetting<u8> bg_red{0, "bg_red"};

@ -112,10 +112,10 @@
<item> <item>
<widget class="QCheckBox" name="use_vulkan_driver_pipeline_cache"> <widget class="QCheckBox" name="use_vulkan_driver_pipeline_cache">
<property name="toolTip"> <property name="toolTip">
<string>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files automatically.</string> <string>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</string>
</property> </property>
<property name="text"> <property name="text">
<string>Use Vulkan pipeline cache (Hack)</string> <string>Use Vulkan pipeline cache</string>
</property> </property>
</widget> </widget>
</item> </item>