@ -147,6 +147,10 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) {
tr ( " Allows saving shaders to storage for faster loading on following game "
" boots. \n Disabling "
" it is only intended for debugging. " ) ) ;
INSERT ( Settings , optimize_spirv_output , tr ( " Optimize SPIRV output shader " ) ,
tr ( " Runs an additional optimization pass over generated SPIRV shaders. \n "
" Will increase time required for shader compilation. \n May slightly improve "
" performance. \n This feature is experimental. " ) ) ;
INSERT (
Settings , use_asynchronous_gpu_emulation , tr ( " Use asynchronous GPU emulation " ) ,
tr ( " Uses an extra CPU thread for rendering. \n This option should always remain enabled. " ) ) ;
@ -310,7 +314,12 @@ std::unique_ptr<ComboboxTranslationMap> ComboboxEnumeration(QWidget* parent) {
PAIR ( AppletMode , HLE , tr ( " Custom frontend " ) ) ,
PAIR ( AppletMode , LLE , tr ( " Real applet " ) ) ,
} } ) ;
translations - > insert ( { Settings : : EnumMetadata < Settings : : SpirvOptimizeMode > : : Index ( ) ,
{
PAIR ( SpirvOptimizeMode , Never , tr ( " Never " ) ) ,
PAIR ( SpirvOptimizeMode , OnLoad , tr ( " On Load " ) ) ,
PAIR ( SpirvOptimizeMode , Always , tr ( " Always " ) ) ,
} } ) ;
translations - > insert ( { Settings : : EnumMetadata < Settings : : AstcDecodeMode > : : Index ( ) ,
{
PAIR ( AstcDecodeMode , Cpu , tr ( " CPU " ) ) ,