anv: Implement vkCmdDrawIndirectByteCountEXT
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 14 Sep 2018 17:25:10 +0000 (12:25 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 22 Jan 2019 16:42:56 +0000 (10:42 -0600)
commit2be89cbd826f9ac2703127025714a55595de33d3
treeb30c5de57211ca1d916d0ff6a8a10ef47f1f1767
parent36ee2fd61c8f943be1d1e2b0354f7a121ffef28f
anv: Implement vkCmdDrawIndirectByteCountEXT

Annoyingly, this requires that we implement integer division on the
command streamer.  Fortunately, we're only ever dividing by constants so
we can use the mulh+add+shift trick and it's not as bad as it sounds.

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