diff options
author | Tilman Sauerbeck <[email protected]> | 2010-09-07 11:38:18 +0200 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-09-08 09:10:46 +1000 |
commit | 1e28dd4ebe73f85cdc38a6bdaeef23fd10223cf3 (patch) | |
tree | 65c2756f7097281c1b0cd0aac3dcd200318f7c72 /src/gallium | |
parent | 460c5304aba646143938b76d536a6fc13a302ca8 (diff) |
r600g: Added missing r600_bc_add_literal() calls to XPD implementation.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 6612b0e38f6..129c95ef68a 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -1850,6 +1850,10 @@ static int tgsi_xpd(struct r600_shader_ctx *ctx) r = r600_bc_add_alu(ctx->bc, &alu); if (r) return r; + + r = r600_bc_add_literal(ctx->bc, ctx->value); + if (r) + return r; } for (i = 0; i < 4; i++) { @@ -1907,6 +1911,10 @@ static int tgsi_xpd(struct r600_shader_ctx *ctx) r = r600_bc_add_alu(ctx->bc, &alu); if (r) return r; + + r = r600_bc_add_literal(ctx->bc, ctx->value); + if (r) + return r; } if (use_temp) return tgsi_helper_copy(ctx, inst); |