diff options
author | Henri Verbeet <[email protected]> | 2011-01-18 20:43:56 +0100 |
---|---|---|
committer | Henri Verbeet <[email protected]> | 2011-01-18 20:57:04 +0100 |
commit | 495dec0a2bcdff10f9a4024b892501c54e29ef00 (patch) | |
tree | 4e1480e096410b408e9f4ad18b07fc57b8f1bb49 /src/gallium | |
parent | 90ff6178a2350cdf7b1c1a28bf3a8c9a66da3d4b (diff) |
r600g: Simplify some r600_bc_add_alu_type() calls to r600_bc_add_alu().
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 5d952a0cae7..06ad817a638 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -2487,7 +2487,7 @@ static int tgsi_eg_arl(struct r600_shader_ctx *ctx) alu.dst.chan = 0; alu.dst.sel = ctx->temp_reg; alu.dst.write = 1; - r = r600_bc_add_alu_type(ctx->bc, &alu, CTX_INST(V_SQ_CF_ALU_WORD1_SQ_CF_INST_ALU)); + r = r600_bc_add_alu(ctx->bc, &alu); if (r) return r; memset(&alu, 0, sizeof(struct r600_bc_alu)); @@ -2498,7 +2498,7 @@ static int tgsi_eg_arl(struct r600_shader_ctx *ctx) alu.src[0].sel = ctx->temp_reg; alu.src[0].chan = 0; alu.last = 1; - r = r600_bc_add_alu_type(ctx->bc, &alu, CTX_INST(V_SQ_CF_ALU_WORD1_SQ_CF_INST_ALU)); + r = r600_bc_add_alu(ctx->bc, &alu); if (r) return r; return 0; @@ -2531,7 +2531,7 @@ static int tgsi_r600_arl(struct r600_shader_ctx *ctx) alu.last = 1; - r = r600_bc_add_alu_type(ctx->bc, &alu, CTX_INST(V_SQ_CF_ALU_WORD1_SQ_CF_INST_ALU)); + r = r600_bc_add_alu(ctx->bc, &alu); if (r) return r; ctx->bc->cf_last->r6xx_uses_waterfall = 1; |