summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-10-14 18:16:37 +1100
committerTimothy Arceri <[email protected]>2016-10-26 14:29:36 +1100
commitcdafd499cc18ab1b4f96fb5fe6537d9c24f5757a (patch)
tree8142ce35738e153338ee6d6e6e31895389b97a84
parent9605b98a078654f6f76e85221599e5fa8c073de6 (diff)
mesa: remove unrequired code
InterpQualifier is never set for ARB programs so this will do nothing. Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r--src/mesa/program/prog_to_nir.c2
1 files changed, 0 insertions, 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;