anv/allocator: Use a signed 32-bit offset for the free list
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 15 Sep 2015 22:00:43 +0000 (15:00 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 18 Sep 2015 00:44:20 +0000 (17:44 -0700)
commitc55fa89251a1188b312aa09ba260cba7a411a282
treea786d37dee215175a007797ac8721637e630d4d4
parent8c6bc1e85d4b2eebf90a5ac862d650c9973bb126
anv/allocator: Use a signed 32-bit offset for the free list

This has the unfortunate side-effect of making it so that we can't have a
block pool bigger than 1GB.  However, that's unlikely to happen and, for
the sake of bi-directional block pools, we need to negative offsets.
src/vulkan/anv_allocator.c
src/vulkan/anv_private.h