diff options
author | Eric Anholt <[email protected]> | 2015-07-29 14:41:22 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-07-30 15:46:28 -0700 |
commit | df3005de189f5120bc06f6cba35ecaf5c4503229 (patch) | |
tree | 4eff5d70aa6f3f24024a4c538d8f6d695baaab79 /src | |
parent | 86541cf8cea77f4b887dd061e7d6e3e4767f86fd (diff) |
vc4: Avoid leaking indirect array access UBOs.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_uniforms.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_uniforms.c b/src/gallium/drivers/vc4/vc4_uniforms.c index d4c71376a55..3bf6672a88a 100644 --- a/src/gallium/drivers/vc4/vc4_uniforms.c +++ b/src/gallium/drivers/vc4/vc4_uniforms.c @@ -283,6 +283,8 @@ vc4_write_uniforms(struct vc4_context *vc4, struct vc4_compiled_shader *shader, } cl_end(&vc4->uniforms, uniforms); + + vc4_bo_unreference(&ubo); } void |