aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/gl_nir_linker.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2020-01-07 10:30:17 +1100
committerTimothy Arceri <[email protected]>2020-01-10 00:41:20 +0000
commitc60d0bd92f1a141d48e8c3db66b3b257ee890c23 (patch)
treee56d6b5bf84e599f9d3a9de95e23bf170506f8c1 /src/compiler/glsl/gl_nir_linker.c
parent05c1f7a15447a9cc0f0bdd2d2f109092cb7c9f9e (diff)
glsl: call uniform resource checks from the nir linker
Reviewed-by: Tapani Pälli <[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 945a3922bb0..59ef963a860 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)
{
+ link_util_check_uniform_resources(ctx, prog);
link_util_check_subroutine_resources(prog);
check_image_resources(ctx, prog);
gl_nir_link_assign_atomic_counter_resources(ctx, prog);