r600g/llvm: Mask write of pred_inst in llvm_if()

This commit is contained in:
Tom Stellard 2012-04-30 10:18:41 -04:00
parent 9e522bd201
commit b4789860c4

View file

@ -287,6 +287,7 @@ static void llvm_if(struct r600_shader_ctx *ctx, struct r600_bytecode_alu * alu,
{
alu->inst = pred_inst;
alu->predicate = 1;
alu->dst.write = 0;
alu->src[1].sel = V_SQ_ALU_SRC_0;
alu->src[1].chan = 0;
alu->last = 1;