panfrost: Use f2fmp for framebuffer lowering conversions
authorIcecream95 <ixn@keemail.me>
Thu, 9 Jul 2020 01:26:26 +0000 (13:26 +1200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 13 Jul 2020 13:35:11 +0000 (13:35 +0000)
commita3952e927ed0df388be125cc8cbb28b14443aa74
tree1b7b3c6146da92d471e03d40164174e0e51e5d4a
parentd16d1367341540074432a6561f383f4392e1523e
panfrost: Use f2fmp for framebuffer lowering conversions

This allows the conversion to be removed when the output is needed as
f32 anyway, for example for highp framebuffer fetch.

v2: Also change operations such as i2i16 to i2imp (Alyssa).

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5755>
src/panfrost/util/pan_lower_framebuffer.c