anv: allow NULL batch parameter to anv_queue_submit_simple_batch
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 23 Aug 2019 17:14:34 +0000 (20:14 +0300)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 11 Nov 2019 21:46:51 +0000 (21:46 +0000)
commit89de271bc2923834adf13d9b45bae9a1811c94f6
tree4b5d7bcf55cd3764fd194afbf61bfb18fca955d8
parentf606c12731651c02ce8b70593946a4d7c7bb10c6
anv: allow NULL batch parameter to anv_queue_submit_simple_batch

We can reuse device->trivial_batch_bo

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_queue.c