projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f822cc2
)
r300/compiler: Remove unused variable.
author
Vinson Lee
<vlee@vmware.com>
Tue, 19 Oct 2010 07:07:22 +0000
(
00:07
-0700)
committer
Vinson Lee
<vlee@vmware.com>
Tue, 19 Oct 2010 07:07:22 +0000
(
00:07
-0700)
src/mesa/drivers/dri/r300/compiler/radeon_compiler.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/compiler/radeon_compiler.c
b/src/mesa/drivers/dri/r300/compiler/radeon_compiler.c
index 125d64e6497a2fd454da574a833ffe1262e5d891..4286baed0c69467de17c64ea169112b0b85c9986 100644
(file)
--- a/
src/mesa/drivers/dri/r300/compiler/radeon_compiler.c
+++ b/
src/mesa/drivers/dri/r300/compiler/radeon_compiler.c
@@
-364,7
+364,7
@@
static void reg_count_callback(void * userdata, struct rc_instruction * inst,
static void print_stats(struct radeon_compiler * c)
{
struct rc_instruction * tmp;
- unsigned
i,
max_reg, insts, fc, tex, alpha, rgb, presub;
+ unsigned max_reg, insts, fc, tex, alpha, rgb, presub;
max_reg = insts = fc = tex = alpha = rgb = presub = 0;
for(tmp = c->Program.Instructions.Next; tmp != &c->Program.Instructions;
tmp = tmp->Next){