mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
i965/fs: Remove special casing of framebuffer writes in scheduler code.
The reason why it was safe for the scheduler to ignore the side effects of framebuffer write instructions was that its side effects couldn't have had any influence on any other instruction in the program, because we weren't doing framebuffer reads, and framebuffer writes were always non-overlapping. We need actual memory dependency analysis in order to determine whether a side-effectful instruction can be reordered with respect to other instructions in the program. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
3daa0fae4b
commit
be12a1f36e
1 changed files with 1 additions and 2 deletions
|
|
@ -969,8 +969,7 @@ is_scheduling_barrier(const fs_inst *inst)
|
|||
{
|
||||
return inst->opcode == FS_OPCODE_PLACEHOLDER_HALT ||
|
||||
inst->is_control_flow() ||
|
||||
inst->eot ||
|
||||
(inst->has_side_effects() && inst->opcode != FS_OPCODE_FB_WRITE);
|
||||
inst->has_side_effects();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue