zink: rescope/simplify some push descriptor code
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 24 Oct 2022 20:44:34 +0000 (16:44 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 25 Oct 2022 22:40:43 +0000 (22:40 +0000)
commit17f9a3830c6facb619b38cf4550b570d75f24206
treea9f461362989273ed7bce52b7ba5ced90d027e62
parentcec19b58d50fdf0410d17e8c33d730ecf358c80b
zink: rescope/simplify some push descriptor code

this is only used in the push descriptor block, so move it there and
simplify redundant cases

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19306>
src/gallium/drivers/zink/zink_descriptors.c