nir: copy front interpolation when creating fake back color input
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 8 Jul 2017 00:32:24 +0000 (20:32 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 9 Jul 2017 01:27:44 +0000 (21:27 -0400)
commitf3958f1644391ed5f6d14373ac74d4978d8598b7
tree372f3aaef8a8ce66409c596ce7136657ad0d9d73
parentce3e2ec3b7c9a40195a870cb84944ac61029f669
nir: copy front interpolation when creating fake back color input

Fixes a bunch of gl_BackColor interpolation tests that had explicit
interpolation specified on the fragment shader gl_Color.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/compiler/nir/nir_lower_two_sided_color.c