summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-04-15 10:04:57 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-04-15 10:04:57 +0100
commitfd1e4331ee40627e5a8cad67b930bde4732ef93f (patch)
tree63a73d9781f727f7d8262eed61edeb74c7a8d8b5
parent48d14b5290d784ea965e45edb94af2dabd9a924d (diff)
nvc/ir: remove duplicate variable declaration
Missed out with earlier commit while resolving conflicts. Fixes: a785cccc706 "nvc0/ir: fix picking of coordinates from tex instruction for textureGrad" Reported-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
index c015ee728ad..087e300c888 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
@@ -850,7 +850,6 @@ NVC0LoweringPass::handleManualTXD(TexInstruction *i)
Value *zero = bld.loadImm(bld.getSSA(), 0);
int l, c;
const int dim = i->tex.target.getDim();
- const int array = i->tex.target.isArray();
// This function is invoked after handleTEX lowering, so we have to expect
// the arguments in the order that the hw wants them. For Fermi, array and