aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/gl_nir_linker.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2020-01-03 15:12:59 +1100
committerTimothy Arceri <[email protected]>2020-01-07 09:53:51 +1100
commit3bd4bcd4187d27b78b5a4d2bba70f13925028079 (patch)
treebdcbbc9f97e2452c3fc291357a5856cb8bc8d2e3 /src/compiler/glsl/gl_nir_linker.c
parentfeffd1fa65d36e34499f29b39f8b18655c2b979f (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/gl_nir_linker.c')
-rw-r--r--src/compiler/glsl/gl_nir_linker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/glsl/gl_nir_linker.c b/src/compiler/glsl/gl_nir_linker.c
index b3832e5629f..ad26507bcc6 100644
--- a/src/compiler/glsl/gl_nir_linker.c
+++ b/src/compiler/glsl/gl_nir_linker.c
@@ -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);