rsx: Enable fallback for devices without wide integer Z buffers

This commit is contained in:
kd-11 2021-12-20 21:33:45 +03:00 committed by kd-11
parent 1ce5349199
commit de495952fd
4 changed files with 15 additions and 1 deletions

View file

@ -125,6 +125,7 @@ void GLVertexDecompilerThread::insertMainStart(std::stringstream & OS)
properties2.domain = glsl::glsl_vertex_program;
properties2.require_lit_emulation = properties.has_lit_op;
properties2.emulate_zclip_transform = true;
properties2.quantize_depth_values = dev_caps.vendor_AMD;
properties2.emulate_depth_clip_only = dev_caps.NV_depth_buffer_float_supported;
insert_glsl_legacy_function(OS, properties2);