From fd1e4331ee40627e5a8cad67b930bde4732ef93f Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 15 Apr 2016 10:04:57 +0100 Subject: [PATCH] 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 Signed-off-by: Emil Velikov --- src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 1 - 1 file changed, 1 deletion(-) 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