config: Register shader interpreter modes

This commit is contained in:
kd-11 2020-04-04 16:03:09 +03:00 committed by Ivan
parent 19acf260d8
commit 65e9e568b5
2 changed files with 8 additions and 0 deletions

View file

@ -101,6 +101,7 @@ struct cfg_root : cfg::node
cfg::_enum<video_aspect> aspect_ratio{ this, "Aspect ratio", video_aspect::_16_9 };
cfg::_enum<frame_limit_type> frame_limit{ this, "Frame limit", frame_limit_type::none, true };
cfg::_enum<msaa_level> antialiasing_level{ this, "MSAA", msaa_level::_auto };
cfg::_enum<shader_interpreter_mode> shader_interpreter_mode{ this, "Enable shader interpreter", shader_interpreter_mode::disabled };
cfg::_bool write_color_buffers{ this, "Write Color Buffers" };
cfg::_bool write_depth_buffer{ this, "Write Depth Buffer" };

View file

@ -179,3 +179,10 @@ enum np_psn_status
disabled,
fake,
};
enum class shader_interpreter_mode
{
disabled,
enabled,
forced
};