panfrost/midgard: Add swizzle_of/mask_of helpers
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 14 Jun 2019 23:03:01 +0000 (16:03 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 17 Jun 2019 15:28:13 +0000 (08:28 -0700)
commit56f9b47efd64c57abdd56a0398660078ed3f753f
tree035644092827b32418e7e77f810845021b05cbee
parent8d1adc091bf4e722fed93d8d8d826a80768eca59
panfrost/midgard: Add swizzle_of/mask_of helpers

These make manipulating vectors in the Midgard compiler easier.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/midgard/midgard_compile.c