mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
rsx: Move fp16 toggle to a global shader precision option
This commit is contained in:
parent
e839595053
commit
d246a37b11
9 changed files with 49 additions and 26 deletions
|
|
@ -354,7 +354,7 @@ void GLFragmentProgram::Decompile(const RSXFragmentProgram& prog)
|
|||
std::string source;
|
||||
GLFragmentDecompilerThread decompiler(source, parr, prog, size);
|
||||
|
||||
if (!g_cfg.video.disable_native_float16)
|
||||
if (g_cfg.video.shader_precision == gpu_preset_level::low)
|
||||
{
|
||||
const auto driver_caps = gl::get_driver_caps();
|
||||
decompiler.device_props.has_native_half_support = driver_caps.NV_gpu_shader5_supported || driver_caps.AMD_gpu_shader_half_float_supported;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue