pan/midgard: Use better heuristic for shader termination
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 31 Dec 2019 19:21:26 +0000 (14:21 -0500)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 2 Jan 2020 20:20:55 +0000 (15:20 -0500)
commit66f98ffab095347d93e0310844e3037ab036c1b3
treeb4df4ed57ba5921b8bd7f7ba4d7f11090d3613b7
parentc298f25c4efb71b461ef0a93cdc20c468afc7511
pan/midgard: Use better heuristic for shader termination

This still may not be perfect (in the sense that legal shaders might
still get cut off) but this fits how writeout is done with both Panfrost
and the blob, so it's good enough for what we need and allows MRT
shaders to be sanely disassembled.

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