rsx: Improve lowered precision comparison emulation

This commit is contained in:
kd-11 2022-04-24 11:56:42 +03:00 committed by kd-11
parent 5746df4046
commit e236ba4daf
3 changed files with 46 additions and 66 deletions

View file

@ -130,6 +130,7 @@ void GLVertexDecompilerThread::insertMainStart(std::stringstream & OS)
properties2.require_lit_emulation = properties.has_lit_op;
properties2.emulate_zclip_transform = true;
properties2.emulate_depth_clip_only = dev_caps.NV_depth_buffer_float_supported;
properties2.low_precision_tests = dev_caps.vendor_NVIDIA;
insert_glsl_legacy_function(OS, properties2);
glsl::insert_vertex_input_fetch(OS, glsl::glsl_rules_opengl4, dev_caps.vendor_INTEL == false);