diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-11-21 17:56:47 -0600 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-11-21 17:56:47 -0600 |
commit | 38ebcf92edb6d4f3e8ab490d40be2783fb27aeb5 (patch) | |
tree | 0b68f4e196644bf4e96e5dafc8b59eb76c25bbae /servers | |
parent | 80565ffc116e6054f76fc785f22ded162c1a73cc (diff) | |
parent | 8bfb631afc0d8f4e7a4c5ee073c53069d667b00d (diff) | |
download | redot-engine-38ebcf92edb6d4f3e8ab490d40be2783fb27aeb5.tar.gz |
Merge pull request #99463 from DarioSamo/rd-partial-coverage-fix-part-two
Do not check for command intersections when not using the write list.
Diffstat (limited to 'servers')
-rw-r--r-- | servers/rendering/rendering_device_graph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/rendering_device_graph.cpp b/servers/rendering/rendering_device_graph.cpp index c8ad0e2722..ebfe328393 100644 --- a/servers/rendering/rendering_device_graph.cpp +++ b/servers/rendering/rendering_device_graph.cpp @@ -527,7 +527,7 @@ void RenderingDeviceGraph::_add_command_to_graph(ResourceTracker **p_resource_tr // The index is just the latest command index that wrote to the resource. if (search_tracker->write_command_or_list_index == p_command_index) { ERR_FAIL_MSG("Command can't have itself as a dependency."); - } else if (_check_command_intersection(resource_tracker, search_tracker->write_command_or_list_index, p_command_index)) { + } else { _add_adjacent_command(search_tracker->write_command_or_list_index, p_command_index, r_command); } } |