projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e522bd
)
r600g/llvm: Mask write of pred_inst in llvm_if()
author
Tom Stellard
<thomas.stellard@amd.com>
Mon, 30 Apr 2012 14:18:41 +0000
(10:18 -0400)
committer
Tom Stellard
<thomas.stellard@amd.com>
Thu, 3 May 2012 13:20:24 +0000
(09:20 -0400)
src/gallium/drivers/r600/r600_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_shader.c
b/src/gallium/drivers/r600/r600_shader.c
index d0f5eecaeace70e988d73a01b07aa2d3169ad190..fa29b36f8f81446b31d2e7112f047fb28986dc3b 100644
(file)
--- 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;