pan/decode: Validate mali_shader_meta stats
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 21 Aug 2019 21:57:23 +0000 (14:57 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 22 Aug 2019 19:55:49 +0000 (12:55 -0700)
commitcbbf75424a2fe6dc258781fe0ac9c1f4f6d0292e
tree9bb8aec918eca44c98a9002dc161cc0f4d93e835
parent9b067d96f7b0ca6c11655ba49d472fde3f3a01be
pan/decode: Validate mali_shader_meta stats

We can infer these stats in many cases from the disassembly, so we
should try to sanity check where we can. We may need to be fuzzy about
analysis, since analysis gives us a bound but we don't mind if it's not
used fully by the shader.

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