rusticl/api: Factor pushing to the Vec out of the if
authorLingMan <18294-LingMan@users.noreply.gitlab.freedesktop.org>
Fri, 7 Oct 2022 17:56:34 +0000 (19:56 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 19 Oct 2022 23:32:50 +0000 (23:32 +0000)
commit677c871a0a3adeb78c6fecbe0bde603ee60f6184
treea6465118986ab346c2944d65f1239a0153c092de
parentd64b9ea4835eb6a38b5522b5470e7cd0e43a071a
rusticl/api: Factor pushing to the Vec out of the if

Both branches do the same here.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18978>
src/gallium/frontends/rusticl/api/program.rs