From cdafd499cc18ab1b4f96fb5fe6537d9c24f5757a Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Fri, 14 Oct 2016 18:16:37 +1100 Subject: [PATCH] mesa: remove unrequired code InterpQualifier is never set for ARB programs so this will do nothing. Reviewed-by: Jason Ekstrand --- src/mesa/program/prog_to_nir.c | 2 -- 1 file changed, 2 deletions(-) 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; -- 2.30.2