i965: Don't add barrier deps for FB write messages.

Ken did this earlier, and this is just me reimplementing his patch a
little differently.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
Matt Turner 2016-03-12 21:16:03 -08:00
parent 3495265158
commit 4fea98991c

View file

@ -897,7 +897,8 @@ is_scheduling_barrier(const fs_inst *inst)
{
return inst->opcode == FS_OPCODE_PLACEHOLDER_HALT ||
inst->is_control_flow() ||
inst->has_side_effects();
inst->eot ||
(inst->has_side_effects() && inst->opcode != FS_OPCODE_FB_WRITE);
}
void