Skip to content

Commit 38ebcf9

Browse files
committed
Merge pull request godotengine#99463 from DarioSamo/rd-partial-coverage-fix-part-two
Do not check for command intersections when not using the write list.
2 parents 80565ff + 8bfb631 commit 38ebcf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servers/rendering/rendering_device_graph.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ void RenderingDeviceGraph::_add_command_to_graph(ResourceTracker **p_resource_tr
527527
// The index is just the latest command index that wrote to the resource.
528528
if (search_tracker->write_command_or_list_index == p_command_index) {
529529
ERR_FAIL_MSG("Command can't have itself as a dependency.");
530-
} else if (_check_command_intersection(resource_tracker, search_tracker->write_command_or_list_index, p_command_index)) {
530+
} else {
531531
_add_adjacent_command(search_tracker->write_command_or_list_index, p_command_index, r_command);
532532
}
533533
}

0 commit comments

Comments
 (0)