Mesa (7.10): r300/compiler: remove unused variables

Marek Olšák mareko at kemper.freedesktop.org
Sat Mar 12 21:25:36 UTC 2011


Module: Mesa
Branch: 7.10
Commit: 954787cee1c5ad32beb071445ea388e050be533d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=954787cee1c5ad32beb071445ea388e050be533d

Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Mar  8 22:13:29 2011 +0100

r300/compiler: remove unused variables
(cherry picked from commit ff8baec5bc377cab716b0510d98195fb5564fb1a)

---

 .../drivers/dri/r300/compiler/radeon_program_tex.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c b/src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c
index 80d8954..1cf77d9 100644
--- a/src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c
+++ b/src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c
@@ -150,7 +150,7 @@ int radeonTransformTEX(
 			return 1;
 		} else {
 			struct rc_instruction * inst_rcp = NULL;
-			struct rc_instruction *inst_mul, *inst_add, *inst_cmp, *inst_cmp2, *inst_mul2;
+			struct rc_instruction *inst_mul, *inst_add, *inst_cmp;
 			unsigned tmp_texsample;
 			unsigned tmp_sum;
 			int pass, fail;




More information about the mesa-commit mailing list