diff options
author | Timothy Arceri <[email protected]> | 2020-01-03 15:12:59 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2020-01-07 09:53:51 +1100 |
commit | 3bd4bcd4187d27b78b5a4d2bba70f13925028079 (patch) | |
tree | bdcbbc9f97e2452c3fc291357a5856cb8bc8d2e3 /src/compiler/glsl/linker.cpp | |
parent | feffd1fa65d36e34499f29b39f8b18655c2b979f (diff) |
glsl: use nir version of check_image_resources() for nir linker
Reviewed-by: Alejandro PiƱeiro <[email protected]>
Diffstat (limited to 'src/compiler/glsl/linker.cpp')
-rw-r--r-- | src/compiler/glsl/linker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/linker.cpp b/src/compiler/glsl/linker.cpp index cc770c4d7b1..bf41337e479 100644 --- a/src/compiler/glsl/linker.cpp +++ b/src/compiler/glsl/linker.cpp @@ -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); } |