mesa: remove unrequired code
authorTimothy Arceri <timothy.arceri@collabora.com>
Fri, 14 Oct 2016 07:16:37 +0000 (18:16 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Wed, 26 Oct 2016 03:29:36 +0000 (14:29 +1100)
InterpQualifier is never set for ARB programs so this will do nothing.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/program/prog_to_nir.c

index 2f589ce77f3e85751f9824210df108c98b0cd4af..1192207c5d17b800d1a5b4b44f84d7b571a9007b 100644 (file)
@@ -904,8 +904,6 @@ setup_registers_and_variables(struct ptn_compile *c)
          struct gl_fragment_program *fp =
             (struct gl_fragment_program *) c->prog;
 
-         var->data.interpolation = fp->InterpQualifier[i];
-
          if (i == VARYING_SLOT_POS) {
             var->data.origin_upper_left = fp->OriginUpperLeft;
             var->data.pixel_center_integer = fp->PixelCenterInteger;