mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 19:00:13 +01:00
i965/gen7: Use align1 mode to set URB_WRITE_HWORD channel enables.
Makes the new vertex shader backend work on Ivybridge. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
e98ee06776
commit
f7d2dcae3b
1 changed files with 3 additions and 0 deletions
|
|
@ -2244,10 +2244,13 @@ void brw_urb_WRITE(struct brw_compile *p,
|
|||
|
||||
if (intel->gen == 7) {
|
||||
/* Enable Channel Masks in the URB_WRITE_HWORD message header */
|
||||
brw_push_insn_state(p);
|
||||
brw_set_access_mode(p, BRW_ALIGN_1);
|
||||
brw_OR(p, retype(brw_vec1_reg(BRW_MESSAGE_REGISTER_FILE, msg_reg_nr, 5),
|
||||
BRW_REGISTER_TYPE_UD),
|
||||
retype(brw_vec1_grf(0, 5), BRW_REGISTER_TYPE_UD),
|
||||
brw_imm_ud(0xff00));
|
||||
brw_pop_insn_state(p);
|
||||
}
|
||||
|
||||
insn = next_insn(p, BRW_OPCODE_SEND);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue