From: Timothy Arceri Date: Fri, 14 Oct 2016 07:16:37 +0000 (+1100) Subject: mesa: remove unrequired code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cdafd499cc18ab1b4f96fb5fe6537d9c24f5757a;p=mesa.git mesa: remove unrequired code InterpQualifier is never set for ARB programs so this will do nothing. Reviewed-by: Jason Ekstrand --- diff --git a/src/mesa/program/prog_to_nir.c b/src/mesa/program/prog_to_nir.c index 2f589ce77f3..1192207c5d1 100644 --- a/src/mesa/program/prog_to_nir.c +++ b/src/mesa/program/prog_to_nir.c @@ -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;