pan/midgard: Identify clamp(x, -1.0, 1.0) flag
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 20 Feb 2020 12:41:26 +0000 (07:41 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 20 Feb 2020 13:34:18 +0000 (13:34 +0000)
commitcc3d29c6e7ccca1ac738cfeafbe4685fbec533f7
treecbd0fda8ff4404c4e1a4021fc98d704e725e3228
parent0263d2793ce0d061268e83afb9c225a06a4e6f25
pan/midgard: Identify clamp(x, -1.0, 1.0) flag

So *that's* what's .unk2 was about :)

We still need to add an opt pass for it, but we can do that further down
the line.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3892>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3892>
src/panfrost/midgard/disassemble.c
src/panfrost/midgard/midgard.h