mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 07:00:11 +01:00
glsl: use nir version of check_image_resources() for nir linker
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
This commit is contained in:
parent
feffd1fa65
commit
3bd4bcd418
2 changed files with 2 additions and 1 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)
|
||||
{
|
||||
check_image_resources(ctx, prog);
|
||||
gl_nir_link_assign_atomic_counter_resources(ctx, prog);
|
||||
gl_nir_link_check_atomic_counter_resources(ctx, prog);
|
||||
|
||||
|
|
|
|||
|
|
@ -4536,9 +4536,9 @@ link_and_validate_uniforms(struct gl_context *ctx,
|
|||
link_calculate_subroutine_compat(prog);
|
||||
check_resources(ctx, prog);
|
||||
check_subroutine_resources(prog);
|
||||
check_image_resources(ctx, prog);
|
||||
|
||||
if (!ctx->Const.UseNIRGLSLLinker) {
|
||||
check_image_resources(ctx, prog);
|
||||
link_assign_atomic_counter_resources(ctx, prog);
|
||||
link_check_atomic_counter_resources(ctx, prog);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue