r600g/compute: Quick exit if there's nothing to add to the pool

Graphics / Mesa 3D Graphics Library / Mesa - Bruno Jiménez [gmail.com] - 23 July 2014 09:29 UTC

This way we can avoid defragmenting the pool, even if it is needed to defragment it, and looping again through the list of unallocated items.

e7bda84 r600g/compute: Quick exit if there's nothing to add to the pool
src/gallium/drivers/r600/compute_memory_pool.c | 4 ++++
1 file changed, 4 insertions(+)

Upstream: cgit.freedesktop.org


  • Share