Browse Source

r600g: Move declaration before code in r600_asm.c.

Fixes SCons build.
tags/android-x86-2.2-r2
Vinson Lee 14 years ago
parent
commit
a2ab929ab2
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/gallium/drivers/r600/r600_asm.c

+ 3
- 1
src/gallium/drivers/r600/r600_asm.c View File

return r; return r;


for (i = 0; i < 5; ++i) { for (i = 0; i < 5; ++i) {
struct r600_bc_alu *alu;

/* check number of literals */ /* check number of literals */
if (prev[i] && r600_bc_alu_nliterals(prev[i], literal, &nliteral)) if (prev[i] && r600_bc_alu_nliterals(prev[i], literal, &nliteral))
return 0; return 0;
result[i] = slots[i]; result[i] = slots[i];


// let's check source gprs // let's check source gprs
struct r600_bc_alu *alu = slots[i];
alu = slots[i];
num_once_inst += is_alu_once_inst(alu); num_once_inst += is_alu_once_inst(alu);


num_src = r600_bc_get_num_operands(alu); num_src = r600_bc_get_num_operands(alu);

Loading…
Cancel
Save