projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86541cf
)
vc4: Avoid leaking indirect array access UBOs.
author
Eric Anholt
<eric@anholt.net>
Wed, 29 Jul 2015 21:41:22 +0000
(14:41 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 30 Jul 2015 22:46:28 +0000
(15:46 -0700)
src/gallium/drivers/vc4/vc4_uniforms.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_uniforms.c
b/src/gallium/drivers/vc4/vc4_uniforms.c
index d4c71376a5567afb6ae3ce5ef4365192cb97e3d6..3bf6672a88a716ac8190f4af3ed7c1e03494bc32 100644
(file)
--- 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