glsl/linker: get rid of gl_context from uniform assign paths

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14433>
This commit is contained in:
Dave Airlie
2022-01-07 11:00:21 +10:00
committed by Marge Bot
parent adbbee980d
commit e9ec1429ba
6 changed files with 32 additions and 32 deletions
+2 -2
View File
@@ -4505,13 +4505,13 @@ link_and_validate_uniforms(struct gl_context *ctx,
assert(!ctx->Const.UseNIRGLSLLinker);
update_array_sizes(prog);
link_assign_uniform_locations(prog, ctx);
link_assign_uniform_locations(prog, &ctx->Const);
if (prog->data->LinkStatus == LINKING_FAILURE)
return;
link_util_calculate_subroutine_compat(prog);
link_util_check_uniform_resources(ctx, prog);
link_util_check_uniform_resources(&ctx->Const, prog);
link_util_check_subroutine_resources(prog);
check_image_resources(ctx, prog);
link_assign_atomic_counter_resources(ctx, prog);