glsl: make use of nir recursion detection

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27841>
This commit is contained in:
Timothy Arceri
2024-02-27 15:09:59 +11:00
committed by Marge Bot
parent 38eb850883
commit eefd836ebc
2 changed files with 4 additions and 4 deletions
-4
View File
@@ -2840,10 +2840,6 @@ link_shaders(struct gl_context *ctx, struct gl_shader_program *prog)
struct gl_linked_shader *shader = prog->_LinkedShaders[i];
exec_list *ir = shader->ir;
detect_recursion_linked(prog, ir);
if (!prog->data->LinkStatus)
goto done;
const struct gl_shader_compiler_options *gl_options =
&consts->ShaderCompilerOptions[i];