glsl: call new nir resize_tes_inputs() pass

Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28538>
This commit is contained in:
Timothy Arceri 2024-03-19 09:53:59 +11:00 committed by Marge Bot
parent d1c11d957a
commit c2066d4685
2 changed files with 2 additions and 2 deletions

View file

@ -1677,6 +1677,8 @@ gl_nir_link_glsl(const struct gl_constants *consts,
MESA_TRACE_FUNC(); MESA_TRACE_FUNC();
resize_tes_inputs(consts, prog);
/* Validate the inputs of each stage with the output of the preceding /* Validate the inputs of each stage with the output of the preceding
* stage. * stage.
*/ */

View file

@ -2725,8 +2725,6 @@ link_shaders(struct gl_context *ctx, struct gl_shader_program *prog)
if (!prog->data->LinkStatus) if (!prog->data->LinkStatus)
goto done; goto done;
resize_tes_inputs(consts, prog);
done: done:
for (unsigned i = 0; i < MESA_SHADER_STAGES; i++) { for (unsigned i = 0; i < MESA_SHADER_STAGES; i++) {
free(shader_list[i]); free(shader_list[i]);