rsx: Fix the default shadow codegen path

This commit is contained in:
kd-11 2023-07-08 16:47:04 +03:00 committed by kd-11
parent c9917c826a
commit 186fe53279
7 changed files with 26 additions and 4 deletions

View file

@ -201,6 +201,7 @@ void GLFragmentDecompilerThread::insertGlobalFunctions(std::stringstream &OS)
m_shader_props.require_tex1D_ops = properties.has_tex1D;
m_shader_props.require_tex2D_ops = properties.has_tex2D;
m_shader_props.require_tex3D_ops = properties.has_tex3D;
m_shader_props.require_shadowProj_ops = properties.shadow_sampler_mask != 0 && properties.has_texShadowProj;
glsl::insert_glsl_legacy_function(OS, m_shader_props);
}