projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f289dcd
)
i965: fix dest type of 'endif' on sandybridge
author
Zhenyu Wang
<zhenyuw@linux.intel.com>
Wed, 10 Nov 2010 13:09:45 +0000
(08:09 -0500)
committer
Zhenyu Wang
<zhenyuw@linux.intel.com>
Wed, 10 Nov 2010 13:17:29 +0000
(08:17 -0500)
That should also be immediate value for type W.
src/mesa/drivers/dri/i965/brw_eu_emit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_eu_emit.c
b/src/mesa/drivers/dri/i965/brw_eu_emit.c
index 9cb99a2b999f3a38142edca25f9b6504379cf67f..9cb941dacfdcabb53ef93237ed42beaa8a8a6a83 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_eu_emit.c
+++ b/
src/mesa/drivers/dri/i965/brw_eu_emit.c
@@
-969,7
+969,7
@@
void brw_ENDIF(struct brw_compile *p,
brw_set_src0(insn, retype(brw_vec4_grf(0,0), BRW_REGISTER_TYPE_UD));
brw_set_src1(insn, brw_imm_d(0x0));
} else {
- brw_set_dest(insn,
retype(brw_vec4_grf(0,0), BRW_REGISTER_TYPE_W
));
+ brw_set_dest(insn,
brw_imm_w(0
));
brw_set_src0(insn, retype(brw_null_reg(), BRW_REGISTER_TYPE_D));
brw_set_src1(insn, retype(brw_null_reg(), BRW_REGISTER_TYPE_D));
}