mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
glsl: call calculate_subroutine_compat() from the nir linker
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
This commit is contained in:
parent
726e8f24c6
commit
87e0dd68f5
2 changed files with 2 additions and 2 deletions
|
|
@ -623,6 +623,7 @@ check_image_resources(struct gl_context *ctx, struct gl_shader_program *prog)
|
|||
bool
|
||||
gl_nir_link_glsl(struct gl_context *ctx, struct gl_shader_program *prog)
|
||||
{
|
||||
link_util_calculate_subroutine_compat(prog);
|
||||
link_util_check_uniform_resources(ctx, prog);
|
||||
link_util_check_subroutine_resources(prog);
|
||||
check_image_resources(ctx, prog);
|
||||
|
|
|
|||
|
|
@ -4404,9 +4404,8 @@ link_and_validate_uniforms(struct gl_context *ctx,
|
|||
if (prog->data->LinkStatus == LINKING_FAILURE)
|
||||
return;
|
||||
|
||||
link_util_calculate_subroutine_compat(prog);
|
||||
|
||||
if (!ctx->Const.UseNIRGLSLLinker) {
|
||||
link_util_calculate_subroutine_compat(prog);
|
||||
link_util_check_uniform_resources(ctx, prog);
|
||||
link_util_check_subroutine_resources(prog);
|
||||
check_image_resources(ctx, prog);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue