anv: Refactor descriptor pushing a bit
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 12 Feb 2019 21:29:19 +0000 (15:29 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 5 Mar 2019 16:06:50 +0000 (10:06 -0600)
commit8ab95b849e66f3221d80a67eef2ec6e3730901a8
treefd98b0b7509a9101d6a82883d984358736d6d850
parentcab064bc10c06eb9fe92e4038d39e7c686fd1ba2
anv: Refactor descriptor pushing a bit

Pull the common code out of the two entrypoints into the helper which
fetches the push descriptor set for us.  Now that it does more than just
get a thing, call it anv_cmd_buffer_push_descriptor_set.

Cc: "19.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_cmd_buffer.c