gen8_instruction *inst = next_inst(BRW_OPCODE_SEND);
gen8_set_dst(brw, inst, retype(dst, BRW_REGISTER_TYPE_UD));
- gen8_set_src0(brw, inst, brw_message_reg(ir->base_mrf));
+ gen8_set_src0(brw, inst, retype(brw_message_reg(ir->base_mrf),
+ BRW_REGISTER_TYPE_UD));
gen8_set_dp_message(brw, inst, HSW_SFID_DATAPORT_DATA_CACHE_1,
surf_index.dw1.ud,
HSW_DATAPORT_DC_PORT1_UNTYPED_ATOMIC_OP,
gen8_instruction *inst = next_inst(BRW_OPCODE_SEND);
gen8_set_dst(brw, inst, retype(dst, BRW_REGISTER_TYPE_UD));
- gen8_set_src0(brw, inst, brw_message_reg(ir->base_mrf));
+ gen8_set_src0(brw, inst, retype(brw_message_reg(ir->base_mrf),
+ BRW_REGISTER_TYPE_UD));
gen8_set_dp_message(brw, inst, HSW_SFID_DATAPORT_DATA_CACHE_1,
surf_index.dw1.ud,
HSW_DATAPORT_DC_PORT1_UNTYPED_SURFACE_READ,
gen8_instruction *inst = next_inst(BRW_OPCODE_SEND);
gen8_set_dst(brw, inst, retype(dst, BRW_REGISTER_TYPE_UD));
- gen8_set_src0(brw, inst, brw_message_reg(ir->base_mrf));
+ gen8_set_src0(brw, inst, retype(brw_message_reg(ir->base_mrf),
+ BRW_REGISTER_TYPE_UD));
gen8_set_dp_message(brw, inst, HSW_SFID_DATAPORT_DATA_CACHE_1,
surf_index.dw1.ud,
HSW_DATAPORT_DC_PORT1_UNTYPED_ATOMIC_OP_SIMD4X2,
gen8_instruction *inst = next_inst(BRW_OPCODE_SEND);
gen8_set_dst(brw, inst, retype(dst, BRW_REGISTER_TYPE_UD));
- gen8_set_src0(brw, inst, brw_message_reg(ir->base_mrf));
+ gen8_set_src0(brw, inst, retype(brw_message_reg(ir->base_mrf),
+ BRW_REGISTER_TYPE_UD));
gen8_set_dp_message(brw, inst, HSW_SFID_DATAPORT_DATA_CACHE_1,
surf_index.dw1.ud,
HSW_DATAPORT_DC_PORT1_UNTYPED_SURFACE_READ,