diff options
author | Zhenyu Wang <[email protected]> | 2010-11-10 08:09:45 -0500 |
---|---|---|
committer | Zhenyu Wang <[email protected]> | 2010-11-10 08:17:29 -0500 |
commit | 9249af17b857e8d9a359b4cd04e9393aca517e9c (patch) | |
tree | 07f9a0c65943839c36bf3e7a50bc25f85e373b86 /src/mesa | |
parent | f289dcd849cdb790b745860f3e97b61b5ad98f19 (diff) |
i965: fix dest type of 'endif' on sandybridge
That should also be immediate value for type W.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_eu_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c index 9cb99a2b999..9cb941dacfd 100644 --- 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)); } |