diff options
author | Christian König <[email protected]> | 2010-12-22 17:45:51 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2010-12-22 17:45:51 +0100 |
commit | 26127d6a2f2df8d8833825bbe96b28ed4fc028f0 (patch) | |
tree | d08a597be08a6692a4b2b5a7a2c68245cb7601a3 /src/gallium/drivers/r600/r700_asm.c | |
parent | adf89a33296b60c746e813c3def030207cac9ec1 (diff) |
r600g: rework literal handling
Diffstat (limited to 'src/gallium/drivers/r600/r700_asm.c')
-rw-r--r-- | src/gallium/drivers/r600/r700_asm.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gallium/drivers/r600/r700_asm.c b/src/gallium/drivers/r600/r700_asm.c index 3eb6fb50ca7..a7f2f54736e 100644 --- a/src/gallium/drivers/r600/r700_asm.c +++ b/src/gallium/drivers/r600/r700_asm.c @@ -29,8 +29,6 @@ int r700_bc_alu_build(struct r600_bc *bc, struct r600_bc_alu *alu, unsigned id) { - unsigned i; - bc->bytecode[id++] = S_SQ_ALU_WORD0_SRC0_SEL(alu->src[0].sel) | S_SQ_ALU_WORD0_SRC0_REL(alu->src[0].rel) | S_SQ_ALU_WORD0_SRC0_CHAN(alu->src[0].chan) | @@ -67,13 +65,5 @@ int r700_bc_alu_build(struct r600_bc *bc, struct r600_bc_alu *alu, unsigned id) S_SQ_ALU_WORD1_OP2_UPDATE_EXECUTE_MASK(alu->predicate) | S_SQ_ALU_WORD1_OP2_UPDATE_PRED(alu->predicate); } - if (alu->last) { - if (alu->nliteral && !alu->literal_added) { - R600_ERR("Bug in ALU processing for instruction 0x%08x, literal not added correctly\n", alu->inst); - } - for (i = 0; i < alu->nliteral; i++) { - bc->bytecode[id++] = alu->value[i]; - } - } return 0; } |