a4xx: hook up centroid ij coords
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 6 Jul 2020 03:16:33 +0000 (23:16 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 6 Jul 2020 20:20:11 +0000 (20:20 +0000)
commitbffee01bd9e434a5da17dd665531211d2759f63e
tree9b697e798ae106efd57481f3dcb3b8028c1806a5
parenta6ed1d7fa5e9e6c274f17fa9f8d564f5c79b6dfb
a4xx: hook up centroid ij coords

This is necessary now that the compiler respects centroid interpolation,
even in non-MSAA mode. Otherwise the interpolation doesn't work. Fixes a
bunch of dEQP centroid transform feedback tests.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5778>
src/gallium/drivers/freedreno/a4xx/fd4_program.c