anv/cmd_buffer: Add a helper for binding descriptor sets
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 15 Dec 2017 21:47:53 +0000 (13:47 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 24 Jan 2018 05:10:30 +0000 (21:10 -0800)
commitb9e1ca16f84016f1d40efa9bfee89db48a7702b4
tree8552722de56c88e7a192a867c160177e4c6937b6
parent90cceaa9dd3b12e039a131a50c6866dce04e7fb2
anv/cmd_buffer: Add a helper for binding descriptor sets

This lets us unify some code between push descriptors and regular
descriptors.  It doesn't do much for us yet but it will.

Tested-by: Józef Kucia <joseph.kucia@gmail.com>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Cc: "18.0" <mesa-stable@lists.freedesktop.org>
src/intel/vulkan/anv_cmd_buffer.c