anv: Submit a dummy batch when only semaphores are provided.
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 28 Feb 2017 00:34:13 +0000 (16:34 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 16 Aug 2017 02:08:26 +0000 (19:08 -0700)
commit017cdb10cf5001d018b65eeec4b06ebeacbb5593
tree13eb65fc54732c45ad17bd5260fb39fc6bebf024
parent031f57eba3719c8dd6462ebd2af696d2632d71b8
anv: Submit a dummy batch when only semaphores are provided.

Vulkan allows you to do a submit whose only job is to wait on and
trigger semaphores.  The easiest way for us to support that right
now is to insert a dummy execbuf.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_batch_chain.c
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/anv_queue.c