OSDN Git Service

anv/cmd_buffer: Use the device allocator for QueueSubmit
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 28 Feb 2017 01:31:05 +0000 (17:31 -0800)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 30 Apr 2017 08:46:31 +0000 (09:46 +0100)
commit9a97d9081d9f8efba439b732afbb31a8213fd9f5
tree2369f27c6fbf1cac54a1eb0c650b2fe233481a64
parenta7209631404438a8a13f44933a84975a9d1889f9
anv/cmd_buffer: Use the device allocator for QueueSubmit

The command is really operating on a Queue not a command buffer and the
nearest object to that with an allocator is VkDevice.

Reviewed-by: Chad Versace <chadversary@chromium.org>
Cc: "17.0 17.1" <mesa-dev@lists.freedesktop.org>
(cherry picked from commit bd3a9813b92bd2e116b58f0932bc7f1f722a9f63)
src/intel/vulkan/anv_batch_chain.c