freedreno/ir3: fix flat shading again
authorRob Clark <robdclark@chromium.org>
Fri, 20 Dec 2019 21:06:11 +0000 (13:06 -0800)
committerRob Clark <robdclark@gmail.com>
Tue, 24 Dec 2019 17:16:31 +0000 (17:16 +0000)
commit0c3206379403c5b7242c65695b10abe607b4a19a
treeb3c35d5c5975545d78bda50eb29a69113c6192ff
parenta8beef332dbde0bb37d68bd2a53a00f9ad0c178d
freedreno/ir3: fix flat shading again

These days `ctx->inputs` is the split scalar input components and
`ir->inputs` is the full vecN.  This got fixed in the load_input case,
but the load_interpolated_input case was missed.

Fixes: bdf6b7018ce ("freedreno/ir3: re-work shader inputs/outputs")
Signed-off-by: Rob Clark <robdclark@chromium.org>
src/freedreno/ir3/ir3_compiler_nir.c