freedreno/ir3: add support for INTERP_MODE_NOPERSPECTIVE
authorJonathan Marek <jonathan@marek.ca>
Sun, 21 Jun 2020 19:10:49 +0000 (15:10 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 1 Jul 2020 13:52:59 +0000 (13:52 +0000)
commit9bebbf5867805923aa73da337af158698f4bb980
tree82709bffe31fae246b26bdeee1cace6e41dbedec
parent0f5c9f971314c3783d876723c7348510bedba564
freedreno/ir3: add support for INTERP_MODE_NOPERSPECTIVE

Check the interp mode and use SYSTEM_VALUE_BARYCENTRIC_LINEAR_* instead
when it is INTERP_MODE_NOPERSPECTIVE.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5582>
src/freedreno/ir3/ir3_compiler_nir.c