diff options
author | Samuel Pitoiset <[email protected]> | 2017-05-12 11:35:43 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-06-14 10:04:36 +0200 |
commit | 3a087dd7a4bd5d7e69ea2b79ca0e2004badb073d (patch) | |
tree | 053df2980fa5203cfd9affd5eb5dd1e2a6e28ade /src/mesa | |
parent | 9e756de7d19307044c9b4a08b285836fbe128589 (diff) |
glsl: process uniform images declared bindless
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/program/program.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c index b5533c72579..0defa012aee 100644 --- a/src/mesa/program/program.c +++ b/src/mesa/program/program.c @@ -275,6 +275,10 @@ _mesa_delete_program(struct gl_context *ctx, struct gl_program *prog) ralloc_free(prog->sh.BindlessSamplers); } + if (prog->sh.BindlessImages) { + ralloc_free(prog->sh.BindlessImages); + } + ralloc_free(prog); } |