panfrost/midgard/disasm: Check for certain tag errors
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 19 Jul 2019 18:02:56 +0000 (11:02 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 22 Jul 2019 15:20:34 +0000 (08:20 -0700)
commit997f85c136882569e56b433292feb09dcd4d33fb
tree30ccc5eb873d171be9b5151918a3b983ef98d092
parentd168b08d621990cd1e47c7f3c13bb6e92195b52e
panfrost/midgard/disasm: Check for certain tag errors

Midgard bundles contain a tag, as well as a copy of the tag of the next
bundle to facilitate prefetch. Do some simple static analysis to detect
certain tag errors (particularly on shaders without branching).

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