MOV_RAW disables masking, but doesn't force the instruction to be
uncompressed. That needs to be done by hand.
Fixes textureGather and texture offset tests.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
if (dispatch_width == 16)
src.nr++;
+ unsigned save_exec_size = default_state.exec_size;
+ default_state.exec_size = BRW_EXECUTE_8;
+
MOV_RAW(src, brw_vec8_grf(0, 0));
if (ir->texture_offset) {
MOV_RAW(retype(brw_vec1_grf(src.nr, 2), BRW_REGISTER_TYPE_UD),
brw_imm_ud(ir->texture_offset));
}
+
+ default_state.exec_size = save_exec_size;
}
uint32_t surf_index =