anv/util: Fix vector resizing
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 3 Mar 2016 16:17:36 +0000 (08:17 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 3 Mar 2016 16:17:36 +0000 (08:17 -0800)
commit206414f92edb4a2149b504f9c296f687a9572ffe
treea39ef5086b70bc0b45941047d128578d38e0f2c1
parent98cdce1ce4737cf09c5d9613a85bb118f0f1757b
anv/util: Fix vector resizing

It wasn't properly handling the fact that wrap-around in the source may not
translate to wrap-around in the destination.  This really needs unit tests.
src/intel/vulkan/anv_util.c