mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
i965: fix dest type of 'endif' on sandybridge
That should also be immediate value for type W.
This commit is contained in:
parent
f289dcd849
commit
9249af17b8
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue