agx: Refactor vector creation
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Wed, 15 Feb 2023 04:54:30 +0000 (23:54 -0500)
committerMarge Bot <emma+marge@anholt.net>
Sun, 5 Mar 2023 09:27:02 +0000 (09:27 +0000)
commit7bb8112fd1e7ee70507912bd2ad2caf91869cfd8
tree384eb32d42aa388160e3492856c3618d6b23fade
parent037609f1dc306e8bd286ef77cbb69fc169477a7b
agx: Refactor vector creation

agx_vec4 is unused, drop in, and split out the common logic since we'll use it
in a new helper.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21430>
src/asahi/compiler/agx_compile.c