projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96f8f8d
)
r600g: Move declaration before code in r600_asm.c.
author
Vinson Lee
<vlee@vmware.com>
Thu, 13 Jan 2011 22:17:01 +0000
(14:17 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 13 Jan 2011 22:17:01 +0000
(14:17 -0800)
Fixes SCons build.
src/gallium/drivers/r600/r600_asm.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_asm.c
b/src/gallium/drivers/r600/r600_asm.c
index
e96236e
..
52dc068
100644
(file)
--- a/
src/gallium/drivers/r600/r600_asm.c
+++ b/
src/gallium/drivers/r600/r600_asm.c
@@
-700,6
+700,8
@@
static int merge_inst_groups(struct r600_bc *bc, struct r600_bc_alu *slots[5], s
return r;
for (i = 0; i < 5; ++i) {
+ struct r600_bc_alu *alu;
+
/* check number of literals */
if (prev[i] && r600_bc_alu_nliterals(prev[i], literal, &nliteral))
return 0;
@@
-730,7
+732,7
@@
static int merge_inst_groups(struct r600_bc *bc, struct r600_bc_alu *slots[5], s
result[i] = slots[i];
// let's check source gprs
-
struct r600_bc_alu *
alu = slots[i];
+ alu = slots[i];
num_once_inst += is_alu_once_inst(alu);
num_src = r600_bc_get_num_operands(alu);