OSDN Git Service

anv: Add a cmd_buffer_execbuf helper
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 2 Nov 2016 17:33:54 +0000 (10:33 -0700)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 9 Nov 2016 23:24:42 +0000 (23:24 +0000)
commit9eca84e052b9c5080c54b083fc637428b53338ec
tree51c22946ca1a8b3b8222c1a129f65a9a8debb55e
parent6f55a66ad325f2484687f0bee7d1db7d7e499ebc
anv: Add a cmd_buffer_execbuf helper

This puts the actual execbuf2 call in anv_batch_chain.c along with the
other relocation stuff.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit db9f4b2a2bbf1aff3c6c878735495fc7accbb11e)
src/intel/vulkan/anv_batch_chain.c
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_private.h