diff options
author | Matt Turner <mattst88@gmail.com> | 2016-03-12 21:16:03 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2016-03-30 19:54:30 -0700 |
commit | 4fea98991c8f94f14e469d4621eddc5247d4efbd (patch) | |
tree | 05861b6c96adffedd7cf737a6d33462857c2e6be /src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp | |
parent | 3495265158cce55d24a7a7f38a0a40d8c9448d38 (diff) | |
download | external_mesa3d-4fea98991c8f94f14e469d4621eddc5247d4efbd.zip external_mesa3d-4fea98991c8f94f14e469d4621eddc5247d4efbd.tar.gz external_mesa3d-4fea98991c8f94f14e469d4621eddc5247d4efbd.tar.bz2 |
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>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp b/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp index befa9ff..8d92584 100644 --- a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp +++ b/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp @@ -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 |