diff options
author | Bruno Jiménez <[email protected]> | 2014-06-11 17:28:01 +0200 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2014-06-12 15:52:08 -0400 |
commit | 4f70d83089bb1fea3cda9aa050e5bbd7f3768734 (patch) | |
tree | ed44de9d9b9bd1920bd2ac4bad8fd8701e11245b /src/glx/indirect_glx.c | |
parent | 607bc899701dda25f7c91ebd2ec2136d4dab0448 (diff) |
r600g/compute: solve a bug introduced by 2e01b8b440c1402c88a2755d89f40292e1f36ce5
That commit made possible that the items could be one just
after the other when their size was a multiple of ITEM_ALIGNMENT.
But compute_memory_prealloc_chunk still looked to leave a gap
between items. Resulting in that we got an infinite loop when
trying to add an item which would left no space between itself and
the next item.
Fixes piglit test: cl-custom-r600-create-release-buffer-bug
And the test for alignment I have just sent:
http://lists.freedesktop.org/archives/piglit/2014-June/011135.html
Sorry about this.
Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/glx/indirect_glx.c')
0 files changed, 0 insertions, 0 deletions