It's a Gen6 XFB thing. It's never used for anything else so there's no
point in having a target cache switch.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7455>
bool send_commit_msg)
{
const struct intel_device_info *devinfo = p->devinfo;
- const unsigned target_cache =
- (devinfo->ver >= 7 ? GFX7_SFID_DATAPORT_DATA_CACHE :
- devinfo->ver >= 6 ? GFX6_SFID_DATAPORT_RENDER_CACHE :
- BRW_SFID_DATAPORT_WRITE);
+ assert(devinfo->ver == 6);
+ const unsigned target_cache = GFX6_SFID_DATAPORT_RENDER_CACHE;
brw_inst *insn;
gfx6_resolve_implied_move(p, &src0, msg_reg_nr);