vk: Do relocations in surface states when they are created
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 21 May 2015 22:55:27 +0000 (15:55 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 21 May 2015 22:55:29 +0000 (15:55 -0700)
commit519fe765e21e43b650ebf2acc9e28725e528a0de
tree509bc4934b4565bde4010c312ea9a8d5976e16b5
parentccf2bf9b99573e0091b956fd0e3a23991f11e86c
vk: Do relocations in surface states when they are created

Previously, we waited until later and did a pass through the used surfaces
and did the relocations then.  This lead to doing double-relocations which
was causing us to get bogus surface offsets.
src/vulkan/device.c
src/vulkan/meta.c
src/vulkan/private.h