panfrost/midgard: Add mir_has_arg helper
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 19 Jul 2019 19:14:43 +0000 (12:14 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 22 Jul 2019 15:20:34 +0000 (08:20 -0700)
commit533d65786f43f23306c9e65d1d7022cf506a143f
tree11022a23135451a0881bde1e1ee6f6143772f7d2
parent076838ef0cba3bffd8d89a02146c2fcf18c30871
panfrost/midgard: Add mir_has_arg helper

Helps scan the MIR for uses of an index.

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