r600g/compute: Fix bug in compute memory pool
authorTom Stellard <thomas.stellard@amd.com>
Mon, 26 Aug 2013 20:06:53 +0000 (13:06 -0700)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 6 Sep 2013 00:18:00 +0000 (17:18 -0700)
commit505fad04f10eee1efdfcd8986b4d484b49d39986
treec55294158f36db0a3ee00f8d8b21670fb4e98adf
parentf0435ebb07d01a77ca0d98967a002898811a5206
r600g/compute: Fix bug in compute memory pool

When adding a new buffer to the beginning of the memory pool, we were
accidentally deleting the buffer that was first in the buffer list.
This was caused by a bug in the memory pool's linked list
implementation.
src/gallium/drivers/r600/compute_memory_pool.c