diff options
author | Tom Stellard <[email protected]> | 2012-04-30 10:18:41 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-03 09:20:24 -0400 |
commit | b4789860c4416ba700ac5edeb692b59e33d45276 (patch) | |
tree | d4b4778e6634be01ceb62334feda7bf3baa777b4 /src | |
parent | 9e522bd201e7cba526e19f7f0422d5cf781be6e8 (diff) |
r600g/llvm: Mask write of pred_inst in llvm_if()
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index d0f5eecaeac..fa29b36f8f8 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -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; |