pan/decode: Validate blend shaders don't access I/O
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 21 Aug 2019 21:04:05 +0000 (14:04 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 22 Aug 2019 19:54:16 +0000 (12:54 -0700)
commit139708bbabdc1897579b40a83d559cea28946290
tree0a0f260201432a4f41c2a1c581f6a4ea8eb45041
parentded9a68d8f3c38f2aa951f45bd0a2335bcd53c8a
pan/decode: Validate blend shaders don't access I/O

We could do better by forcing the checks to *equal* zero (right now, an
indeterminate answer will pass the checks), but this is a start to guard
against some egregious cases.

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