r600g: fix EXP on Cayman
NOTE: This is a candidate for the stable branches.
This commit is contained in:
@@ -4388,10 +4388,8 @@ static int tgsi_exp(struct r600_shader_ctx *ctx)
|
|||||||
|
|
||||||
alu.dst.sel = ctx->temp_reg;
|
alu.dst.sel = ctx->temp_reg;
|
||||||
alu.dst.chan = i;
|
alu.dst.chan = i;
|
||||||
if (i == 0)
|
alu.dst.write = i == 0;
|
||||||
alu.dst.write = 1;
|
alu.last = i == 2;
|
||||||
if (i == 2)
|
|
||||||
alu.last = 1;
|
|
||||||
r = r600_bytecode_add_alu(ctx->bc, &alu);
|
r = r600_bytecode_add_alu(ctx->bc, &alu);
|
||||||
if (r)
|
if (r)
|
||||||
return r;
|
return r;
|
||||||
|
Reference in New Issue
Block a user