[Mesa-dev] [PATCH 14/25] mesa: remove unrequired code
Timothy Arceri
timothy.arceri at collabora.com
Tue Oct 18 06:12:17 UTC 2016
InterpQualifier is never set for ARB programs so this will do nothing.
---
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 a675bc6..981d6f9 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.7.4
More information about the mesa-dev
mailing list