pan/midgard: Add mir_simple_swizzle helper
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 24 Jul 2019 03:02:06 +0000 (20:02 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 25 Jul 2019 13:37:21 +0000 (06:37 -0700)
commitb8caaa3000a9eb452c7ea54f9d9eb80927e22814
treeb45cf2a480ecec17cb5dd8d931bd65c94c8124fb
parent63385a3fdb6a42013be74091d0264a09550766ee
pan/midgard: Add mir_simple_swizzle helper

Checks for x/xy/xyz/xyzw style swizzles (slightly more general but you
get the idea).

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/midgard/helpers.h