rsx/interpreter: merge shader settings

- merge disable_asynchronous_shader_compiler and interpreter_mode
- removes disable_asynchronous_shader_compiler setting
- Adds the resulting settings as radio buttons to the gui tab
This commit is contained in:
Megamouse 2020-04-27 16:37:31 +02:00 committed by Ivan
parent 2281c4f662
commit 8f0af6a6fe
12 changed files with 226 additions and 111 deletions

View file

@ -561,7 +561,9 @@ namespace rsx
g_fxo->init<named_thread>("RSX Decompiler Thread", [this]
{
if (g_cfg.video.disable_asynchronous_shader_compiler)
const auto shadermode = g_cfg.video.shadermode.get();
if (shadermode != shader_mode::async_recompiler && shadermode != shader_mode::async_with_interpreter)
{
// Die
return;