[Mesa-dev] [PATCH 2/2] r600g: remove unused base_vector_chan variable

Ilia Mirkin imirkin at alum.mit.edu
Wed Jul 9 18:26:50 PDT 2014


Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---

Happened to notice the warning when compiling r600. Perhaps the use got
removed in some LLVM version cleanup? I didn't think it was important to go
digging though.

 src/gallium/drivers/r600/r600_llvm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/drivers/r600/r600_llvm.c b/src/gallium/drivers/r600/r600_llvm.c
index 4fcca69..d1e3255 100644
--- a/src/gallium/drivers/r600/r600_llvm.c
+++ b/src/gallium/drivers/r600/r600_llvm.c
@@ -366,7 +366,6 @@ static void llvm_emit_epilogue(struct lp_build_tgsi_context * bld_base)
 			case TGSI_SEMANTIC_CLIPVERTEX: {
 				LLVMValueRef args[3];
 				unsigned reg_index;
-				unsigned base_vector_chan;
 				LLVMValueRef adjusted_elements[4];
 				for (reg_index = 0; reg_index < 2; reg_index ++) {
 					for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) {
-- 
1.8.5.5



More information about the mesa-dev mailing list