diff options
author | Samuel Pitoiset <[email protected]> | 2017-05-11 17:26:49 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-06-14 10:04:36 +0200 |
commit | 9e756de7d19307044c9b4a08b285836fbe128589 (patch) | |
tree | 5f3487297525d20c3fdcf3ae92905e65fb247df1 /src/mesa/program/program.c | |
parent | 444b703a88f8a9c6487db278e8e4331e9fb87d12 (diff) |
glsl: process uniform samplers declared bindless
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/program/program.c')
-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 277e6ce2d86..b5533c72579 100644 --- a/src/mesa/program/program.c +++ b/src/mesa/program/program.c @@ -271,6 +271,10 @@ _mesa_delete_program(struct gl_context *ctx, struct gl_program *prog) ralloc_free(prog->nir); } + if (prog->sh.BindlessSamplers) { + ralloc_free(prog->sh.BindlessSamplers); + } + ralloc_free(prog); } |